Realtime Stt Options
data class RealtimeSttOptions(val modelId: String = "scribe_v2_realtime", val audioFormat: RealtimeSttAudioFormat = RealtimeSttAudioFormat.Pcm16000, val languageCode: String? = null, val secondaryLanguages: List<String> = emptyList(), val commitStrategy: RealtimeSttCommitStrategy = RealtimeSttCommitStrategy.Manual, val includeTimestamps: Boolean = false, val includeLanguageDetection: Boolean = false, val keyterms: List<String> = emptyList(), val noVerbatim: Boolean = false, val enableLogging: Boolean = true)(source)
Configuration applied when opening a realtime speech-to-text connection.
Constructors
Link copied to clipboard
constructor(modelId: String = "scribe_v2_realtime", audioFormat: RealtimeSttAudioFormat = RealtimeSttAudioFormat.Pcm16000, languageCode: String? = null, secondaryLanguages: List<String> = emptyList(), commitStrategy: RealtimeSttCommitStrategy = RealtimeSttCommitStrategy.Manual, includeTimestamps: Boolean = false, includeLanguageDetection: Boolean = false, keyterms: List<String> = emptyList(), noVerbatim: Boolean = false, enableLogging: Boolean = true)
Properties
Link copied to clipboard
Encoding and sample rate of submitted audio.
Link copied to clipboard
Strategy used to commit buffered audio.
Link copied to clipboard
Whether request logging is enabled on ElevenLabs.
Link copied to clipboard
Whether transcript events should include detected language information.
Link copied to clipboard
Whether final transcript events should include timestamped units.
Link copied to clipboard
Expected language code, or null for automatic detection.
Link copied to clipboard
Whether to avoid verbatim transcription behavior supported by the service.
Link copied to clipboard
Additional language codes that may occur in the audio.