sttp.openai.requests.audio.transcriptions
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object Armenianobject Azerbaijaniobject Belarusianobject Bosnianobject Bulgarianobject Catalanobject Chineseobject Croatianclass Customobject Czechobject Danishobject Dutchobject Englishobject Estonianobject Finnishobject Frenchobject Galicianobject Germanobject Greekobject Hebrewobject Hindiobject Hungarianobject Icelandicobject Indonesianobject Italianobject Japaneseobject Kannadaobject Kazakhobject Koreanobject Latvianobject Lithuanianobject Macedonianobject Malayobject Maoriobject Marathiobject Nepaliobject Norwegianobject Persianobject Polishobject Portugueseobject Romanianobject Russianobject Serbianobject Slovakobject Slovenianobject Spanishobject Swahiliobject Swedishobject Tagalogobject Tamilobject Thaiobject Turkishobject Ukrainianobject Urduobject Vietnameseobject WelshShow all
object Language
case class TranscriptionConfig(file: File, model: RecognitionModel, prompt: Option[String], responseFormat: Option[ResponseFormat], temperature: Option[Float], language: Option[Language])
Value parameters
- file
-
The audio file to transcribe, in one of these formats: mp3, mp4, mpeg, mpga, m4a, wav, or webm.
- language
-
The language of the input audio, use one of
Language
- model
-
ID of the model to use. Only whisper-1 is currently available.
- prompt
-
An optional text to guide the model's style or continue a previous audio segment. The prompt should match the audio language.
- responseFormat
-
The format of the transcript output, one of
ResponseFormat
- temperature
-
The sampling temperature, between 0 and 1. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. If set to 0, the model will use log probability to automatically increase the temperature until certain thresholds are hit.
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
object TranscriptionConfig
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
TranscriptionConfig.type
In this article