Skip to content

@sqlrooms/ai / useChatAttachments

Function: useChatAttachments() ​

useChatAttachments(): ChatAttachmentsState

Reads and manages the transient attachments for the current composer.

Returns ​

ChatAttachmentsState