sttp.openai.requests.audio.transcriptions

Members list

Concise view

Type members

Classlikes

sealed abstract class Language(val value: String)

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Armenian.type
object Azerbaijani.type
object Belarusian.type
object Bosnian.type
object Bulgarian.type
object Catalan.type
object Chinese.type
object Croatian.type
class Custom
object Czech.type
object Danish.type
object Dutch.type
object English.type
object Estonian.type
object Finnish.type
object French.type
object Galician.type
object German.type
object Greek.type
object Hebrew.type
object Hindi.type
object Hungarian.type
object Icelandic.type
object Indonesian.type
object Italian.type
object Japanese.type
object Kannada.type
object Kazakh.type
object Korean.type
object Latvian.type
object Lithuanian.type
object Macedonian.type
object Malay.type
object Maori.type
object Marathi.type
object Nepali.type
object Norwegian.type
object Persian.type
object Polish.type
object Portuguese.type
object Romanian.type
object Russian.type
object Serbian.type
object Slovak.type
object Slovenian.type
object Spanish.type
object Swahili.type
object Swedish.type
object Tagalog.type
object Tamil.type
object Thai.type
object Turkish.type
object Ukrainian.type
object Urdu.type
object Vietnamese.type
object Welsh.type
object Language

Attributes

Companion:
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
case class TranscriptionConfig(file: File, model: RecognitionModel, prompt: Option[String], responseFormat: Option[ResponseFormat], temperature: Option[Float], language: Option[Language])

Attributes

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.

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Attributes

Companion:
class
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type