org.llm4s.speech.stt

Members list

Type members

Classlikes

sealed trait STTError extends LLMError

Attributes

Companion
object
Supertypes
trait LLMError
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
Known subtypes
object STTError

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
STTError.type
final case class STTOptions(language: Option[String], prompt: Option[String], enableTimestamps: Boolean, diarization: Boolean)

Models for speech-to-text.

Models for speech-to-text.

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
trait SpeechToText

Abstraction for speech-to-text providers.

Abstraction for speech-to-text providers.

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
final case class Transcription(text: String, language: Option[String], confidence: Option[Double], timestamps: List[WordTimestamp], meta: Option[AudioMeta])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final class VoskSpeechToText(modelPath: Option[String]) extends SpeechToText

Vosk-based speech-to-text implementation. Replaces Sphinx4 as it's more actively maintained and has better performance.

Vosk-based speech-to-text implementation. Replaces Sphinx4 as it's more actively maintained and has better performance.

Attributes

Supertypes
trait SpeechToText
class Object
trait Matchable
class Any
final class WhisperSpeechToText(command: Seq[String], model: String, outputFormat: String) extends SpeechToText

Enhanced Whisper integration via CLI (whisper.cpp or openai-whisper). Supports various Whisper models and output formats.

Enhanced Whisper integration via CLI (whisper.cpp or openai-whisper). Supports various Whisper models and output formats.

Attributes

Supertypes
trait SpeechToText
class Object
trait Matchable
class Any
final case class WordTimestamp(word: String, startSec: Double, endSec: Double)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all