Share via


AudioInputTranscriptionOptions interface

Configuration for input audio transcription.

Properties

customSpeech

Optional configuration for custom speech models.

language

Optional language code in BCP-47 (e.g., 'en-US'), or ISO-639-1 (e.g., 'en'), or multi languages with auto detection, (e.g., 'en,zh').

model

The transcription model to use. Supported values: 'whisper-1', 'gpt-4o-transcribe', 'gpt-4o-mini-transcribe', 'azure-speech'.

phraseList

Optional list of phrase hints to bias recognition.

Property Details

customSpeech

Optional configuration for custom speech models.

customSpeech?: Record<string, string>

Property Value

Record<string, string>

language

Optional language code in BCP-47 (e.g., 'en-US'), or ISO-639-1 (e.g., 'en'), or multi languages with auto detection, (e.g., 'en,zh').

language?: string

Property Value

string

model

The transcription model to use. Supported values: 'whisper-1', 'gpt-4o-transcribe', 'gpt-4o-mini-transcribe', 'azure-speech'.

model: string

Property Value

string

phraseList

Optional list of phrase hints to bias recognition.

phraseList?: string[]

Property Value

string[]