ConversationalAIClientParameters
ElevenLabs.ConversationalAIClient parameters. Can be passed as arguments to the ElevenLabs.createConversationalAIClient method.
Props
agentId
agentId: string
The unique identifier for the voice to use in the TTS process.
onWebSocketClose
onWebSocketClose: (event: WebSocketEvents.CLOSE) => void
| undefined
Optional. A callback function that is called when the WebSocket connection is closed.
statistics
statistics: false
| undefined
| true
Optional. Enables statistics functionality.
trace
trace: false
| undefined
| true
Optional. Enables trace functionality.
xiApiKey
xiApiKey: string
The API key for the ElevenLabs Conversational AI.