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
TtsProviderName
| Promise
<TtsProviderName
>
See
Deprecated
use Conversation.audio.tts instead
Found a mistake? Let us know.