Module audio

Source
Expand description

Learn how to turn audio into text.

Modules§

transcription
Transcribes audio into the input language.
translation
Translates audio into English.

Structs§

GenericSegment
A generic segment, independent of response format
JsonResponse
Response for Json response format
VerboseJsonResponse
Response for VerboseJson response format
VerboseJsonSegment
A VerboseJson response segment

Enums§

AudioResponse
Response to a transcript/translation
AudioResponseFormat
The format of the transcript/translation output.

Functions§

parse_audio_response
Parses a reqwest::Response into a response of the specified format.