STTConfig

org.llm4s.speech.config.STTConfig
See theSTTConfig companion class
object STTConfig

Default values for STTConfig, one set per cloud provider. SpeechConfigLoader falls back to them when the corresponding setting is absent.

STTConfig#toString redacts the API key (through Redaction.secret), so a config is safe to log.

Attributes

Companion
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
STTConfig.type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete fields

Azure: the recognition language that STTConfig#model carries for Azure. Not applied by SpeechConfigLoader, which takes the language from the azure/<language> spec; it is a reference value for callers building an STTConfig by hand.

Azure: the recognition language that STTConfig#model carries for Azure. Not applied by SpeechConfigLoader, which takes the language from the azure/<language> spec; it is a reference value for callers building an STTConfig by hand.

Attributes

OpenAI: the base URL SpeechConfigLoader.stt uses when llm4s.speech.openai.baseUrl is not set.

OpenAI: the base URL SpeechConfigLoader.stt uses when llm4s.speech.openai.baseUrl is not set.

Attributes

val DEFAULT_OPENAI_MODEL: String

OpenAI: the STT model name for STTConfig#model. Not applied by SpeechConfigLoader, which takes the model from the provider/model spec; it is a reference value for callers building an STTConfig by hand.

OpenAI: the STT model name for STTConfig#model. Not applied by SpeechConfigLoader, which takes the model from the provider/model spec; it is a reference value for callers building an STTConfig by hand.

Attributes