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

SttDispatcher<TInput, TOutput>: (conv) => SttProviderName | Promise<SttProviderName>

A callback that selects a speech-to-text 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.stt 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.