Type Alias: ~~TtsDispatcher()\<TInput, TOutput>~~

TtsDispatcher<TInput, TOutput>: (conv) => TtsProviderName | Promise<TtsProviderName>

A callback that selects a text-to-speech engine for the conversations.

Type Parameters

• TInput extends Record<string, unknown>

• TOutput extends Record<string, unknown>

Parameters

conv

Conversation<TInput, TOutput>

Returns

See

Deprecated

use Conversation.audio.tts instead

Found a mistake? Let us know.

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.