Function: useConversation()
useConversation<
T>(options?):UseConversation<T>
Defined in: react/src/conversation.ts:35
A multi-turn conversation that lives as long as the component. Options
are read on the first render: to change the system prompt or tools,
remount (give the component a new key) or call reset.
Type Parameters
T
T = unknown
Parameters
options?
ConversationOptions<T> = {}