useChatState
Initialize hook
The useChatState
hook is used for chat-based interaction with agents from your React application.
To initialize, you need to call the hook from inside your React component, passing the required arguments.
Arguments
Your Scoopika client, initialized using @scoopika/client.
Your Scoopika agent, initialized using @scoopika/client.
Was this page helpful?