A reference to the structured chat resource.
interface StructuredChatResourceRef<Output, Tools extends Chat.AnyTool> extends Resource<Chat.Message<Output, Tools>[]> {
reload: () => boolean;
resendMessages: () => void;
sendMessage: (message: Chat.UserMessage) => void;
setMessages: (messages: Chat.Message<Output, Tools>[]) => void;
stop: (clearStreamingMessage?: boolean) => void;
}
@type
Output
@type
Tools
Chat.AnyTool