STTConfig

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 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

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product