Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
/v1/audio/transcriptions
To simplify things, this only supports the verbose_json
response format
and also only supports the segment
granularity
Synopsis
- data CreateTranscription = CreateTranscription {}
- _CreateTranscription :: CreateTranscription
- data TranscriptionObject = TranscriptionObject {}
- data Segment = Segment {
- id :: Integer
- seek :: Integer
- start :: Double
- end :: Double
- text :: Text
- tokens :: Vector Word
- temperature :: Double
- avg_logprob :: Double
- compression_ratio :: Double
- no_speech_prob :: Double
- type API = "transcriptions" :> (MultipartForm Tmp CreateTranscription :> Post '[JSON] TranscriptionObject)
Main types
data CreateTranscription Source #
Request body for /v1/audio/transcriptions
Instances
data TranscriptionObject Source #
Represents a verbose json transcription response returned by model, based on the provided input.
Instances
Other types
Segment of the transcribed text and its corresponding details
Segment | |
|
Instances
Servant
type API = "transcriptions" :> (MultipartForm Tmp CreateTranscription :> Post '[JSON] TranscriptionObject) Source #
Servant API