STTConfig

org.llm4s.speech.config.STTConfig
See theSTTConfig companion object
final case class STTConfig(provider: String, model: String, apiKey: Secret, 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
Source
SpeechConfig.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any
Source
SpeechConfig.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product