org.llm4s.speech.stt.STTOptions
See theSTTOptions companion object
final case class STTOptions(language: Option[String], prompt: Option[String], enableTimestamps: Boolean, diarization: Boolean, confidenceThreshold: Double)
Options for speech-to-text transcription.
Value parameters
- confidenceThreshold
-
Minimum confidence (0.0-1.0) to include words
- diarization
-
Whether to detect and separate speakers
- enableTimestamps
-
Whether to include word-level timestamps
- language
-
BCP 47 language tag (e.g., "en-US", "fr-FR")
- prompt
-
Optional context or dictionary to guide transcription
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article