Settings for speech-to-text models.
Fields
:prompt- Instructions for the model to follow:language- The language of the audio input (e.g., "en", "es", "fr"):temperature- Sampling temperature for the model:turn_detection- Turn detection settings for streamed audio input
Summary
Functions
Create new STT settings with the given options.
Types
Functions
Create new STT settings with the given options.
Options
:prompt- Instructions for the model:language- Language code (e.g., "en"):temperature- Sampling temperature:turn_detection- Turn detection configuration
Examples
iex> settings = Codex.Voice.Config.STTSettings.new(language: "en")
iex> settings.language
"en"