@voxket-ai/voxket-live
Version:
A React widget for embedding Voxket-powered audio/video/chat experiences.
14 lines (13 loc) • 470 B
TypeScript
/**
* useAgentAssist
*
* Manages the Agent Assist feature:
* - Toggle sends AGENT_ASSIST_START / AGENT_ASSIST_STOP to LiveKit topic 'assist.event'
* - Listens for incoming data on topic 'assist.suggestion' and surfaces the suggestion text
* - Cleans up all listeners on disconnect or unmount
*/
export declare function useAgentAssist(client: any, enabled: boolean): {
isAssistOn: boolean;
toggleAssist: () => Promise<void>;
suggestionText: string;
};