UNPKG

@voxket-ai/voxket-live

Version:

A React widget for embedding Voxket-powered audio/video/chat experiences.

39 lines (38 loc) 1.19 kB
/** * Example: Agent triggers a give_assignment RPC with the exact schema your agent uses * This simulates what an AI agent would do to trigger frontend interactive components */ export declare const agentRpcExample: { checkAvailableRpcs(voxketClient: any): Promise<any>; triggerAssignment(room: any, participantIdentity: string): Promise<any>; processAssignmentResponse(response: any): Promise<{ status: any; assignmentId: any; timeSpent: any; processed: boolean; followupAction: string; }>; getAssignmentExamples(): { marketing: { title: string; description: string; estimated_time_of_completion: string; }; technical: { title: string; description: string; estimated_time_of_completion: string; }; research: { title: string; description: string; estimated_time_of_completion: string; }; quick: { title: string; description: string; estimated_time_of_completion: string; }; }; }; export default agentRpcExample;