Agent STT configuration
Configuration is passed in StartRecognition and is split across two levels of the payload: audio_format at the top level, and transcription_config.
Agent STT is in Preview.
Audio format
Only pcm_s16le at 8000 Hz or 16000 Hz is supported. Other encodings such as pcm_f32le and mulaw, and other sample rates such as 44100 Hz, may be silently accepted by the API but will not produce correct output.
For example:
{ "type": "raw", "encoding": "pcm_s16le", "sample_rate": 16000 }
Transcription config
The transcription_config object accepts the following fields.
For the languages available, see Transcription languages. For the medical domain, see Medical domain.
Speaker diarization config
The transcription_config.speaker_diarization_config object accepts the following fields. All of them require diarization to be set to speaker.
For how to obtain and use known_speakers, see Speaker focus and identification.
Unsupported fields
The following fields are rejected if present in an agent STT request.