Skip to main content

Interface: VoiceChatOptions

Additional configuration applied when orchestrating a voice-enabled chat.

Properties​

channels?​

optional channels: number;

Number of audio channels supplied by the caller.


conversationId?​

optional conversationId: null | string;

Conversation identifier for persisted voice transcripts.


sampleRate?​

optional sampleRate: number;

Sample rate of inbound audio frames.


sessionId?​

optional sessionId: null | string;

Identifier of the active voice session.


strategy?​

optional strategy: VoiceEndpointingStrategy;

Endpointing strategy controlling speech detection.


transcript?​

optional transcript: VoiceTranscriptSegment[];

Existing transcript segments to seed the session.