org.llm4s.speech.config.STTConfig
See theSTTConfig companion object
final case class STTConfig(provider: String, model: String, apiKey: String, baseUrl: String, region: Option[String])
Configuration for a cloud STT provider, as produced by SpeechConfigLoader.stt.
Value parameters
- apiKey
-
API key for the provider
- baseUrl
-
API base URL, without a trailing path (the endpoint path is added by the client)
- model
-
Model identifier (OpenAI:
whisper-1; Azure: the default recognition language, e.g.en-US) - provider
-
Provider name: "openai" or "azure"
- region
-
Azure Speech region, when the provider is Azure
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article