Skip to content

@sqlrooms/ai-core / useChatAttachments

Function: useChatAttachments() ​

useChatAttachments(): ChatAttachmentsState

Reads and manages the transient attachments for the current composer.

Returns ​

ChatAttachmentsState