Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
OpenAI.V1.Audio.Translations
Contents
Description
/v1/audio/translations
To simplify things, this only supports the verbose_json
response format
Synopsis
- data CreateTranslation = CreateTranslation {}
- _CreateTranslation :: CreateTranslation
- data TranslationObject = TranslationObject {}
- type API = "translations" :> (MultipartForm Tmp CreateTranslation :> Post '[JSON] TranslationObject)
Main types
data CreateTranslation Source #
Request body for /v1/audio/translations
Constructors
CreateTranslation | |
Instances
data TranslationObject Source #
Represents a transcription response returned by model, based on the provided input.
Constructors
TranslationObject | |
Instances
Servant
type API = "translations" :> (MultipartForm Tmp CreateTranslation :> Post '[JSON] TranslationObject) Source #
Servant API