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:

NameType
TInputRecord<string, unknown>
TOutputRecord<string, unknown>

Type declaration:

▸ (conv: Conversation<TInput, TOutput>): SttProviderName | Promise<SttProviderName>

Parameters:

NameType
convConversation<TInput, TOutput>

Returns: SttProviderName | Promise<SttProviderName>


SttProviderName

Ƭ SttProviderName: "default" | "dasha" | "disabled" | TinkoffSTT | GoogleStt | MicrosoftStt | YandexStt

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

Found a mistake? Email us, and we'll send you a free t-shirt!

Enroll in beta

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