org.llm4s.speech.stt.SpeechToText
Abstraction for speech-to-text conversion providers.
Implementations should handle various audio formats and provide optional features like word-level timestamps and speaker diarization.
Attributes
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Known subtypes
-
Members list
Unique identifier/name of this provider
Unique identifier/name of this provider
Attributes
Transcribe audio to text.
Transcribe audio to text.
Value parameters
-
input
-
Audio data to transcribe
-
options
-
Configuration for transcription
Attributes
-
Returns
-
Result containing Transcription or STTError
-
Throws
-
STTError
if transcription fails (wrapped in Result)
Check if this provider is available/healthy. Useful for failover logic and availability checks.
Check if this provider is available/healthy. Useful for failover logic and availability checks.
Attributes