Package-level declarations

Voice provider abstractions for all 9 providers (OpenAI, ElevenLabs, Deepgram, Azure, Cartesia, PlayHT, RimeAI, LMNT, Neets) with voice IDs and model types.

Types

Link copied to clipboard
interface AzureVoice : AzureVoiceProperties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface CartesiaVoice : CartesiaVoiceProperties
Link copied to clipboard
interface ChunkPlan : ChunkPlanProperties

This is the chunk plan for the voice output. It controls how the model output is split into chunks before being sent to the voice provider for generation.
Default true because voice generation sounds better with chunking (and reformatting them).
To send every token from the model output directly to the voice provider and rely on the voice provider's audio generation logic, set enabled to false.

Link copied to clipboard
interface DeepgramVoice : DeepgramVoiceProperties
Link copied to clipboard
Link copied to clipboard
interface ElevenLabsVoice : ElevenLabsVoiceProperties
Link copied to clipboard
interface FormatPlan : FormatPlanProperties

This is the format plan for the voice output. It controls how text is reformatted before being sent to the voice provider. Many things are reformatted including phone numbers, emails and addresses to improve their enunciation.
Default true because voice generation sounds better with reformatting.
To disable chunk reformatting, set enabled to false.

Link copied to clipboard
interface LMNTVoice : LMNTVoiceProperties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface NeetsVoice : NeetsVoiceProperties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface OpenAIVoice : OpenAIVoiceProperties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface PlayHTVoice : PlayHTVoiceProperties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
interface RimeAIVoice : RimeAIVoiceProperties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard