@sqlrooms/ai / getChatMessageAttachments
Function: getChatMessageAttachments()
getChatMessageAttachments(
message):FileUIPart[]
Returns the file parts attached to a UI message.
Parameters
| Parameter | Type |
|---|---|
message | UIMessage<unknown, UIDataTypes, UITools> | undefined |
Returns
FileUIPart[]