stt
Table of contents
Interfaces
Type aliases
SttDispatcher
Ƭ SttDispatcher<TInput, TOutput>: (conv
: Conversation<TInput, TOutput>) => SttProviderName | Promise<SttProviderName>
A callback that selects a speech-to-text engine for the conversations.
deprecated
use {@link Conversation.audio.stt} instead
Type parameters:
Name | Type |
---|---|
TInput | Record<string, unknown> |
TOutput | Record<string, unknown> |
Type declaration:
▸ (conv
: Conversation<TInput, TOutput>): SttProviderName | Promise<SttProviderName>
Parameters:
Name | Type |
---|---|
conv | Conversation<TInput, TOutput> |
Returns: SttProviderName | Promise<SttProviderName>
SttProviderName
Ƭ SttProviderName: "default"
| "dasha"
| "disabled"
| TinkoffSTT | GoogleStt | MicrosoftStt | YandexStt | DeepgramSTT
A speech-to-text provider to use for an application.
"default"
is a default STT engine.
"dasha"
is Dasha.AI's own STT engine.
"disabled"
disables STT altogether; useful for building IVRs