useCopilot
⚠️
The
useCopilot
hook is unstable and not yet supported.The useCopilot
hook allows you to access the copilot headlessly from your React frontend. Using
this hook gives all the functionality you need to build an entirely custom frontend for your AI
copilot while still benefiting from the Continual copilot platform.
Usage
To use this hook your component must be a descendant of <CopilotProvider />
.
Return values
Variable | Description |
---|---|
sessions | A list of sessions for the authenticated application user. |