OpenAI::CreateTranscriptionResponseJson
Inherits JSON::Serializable < Reference < Object
Represents a transcription response returned by model, based on the provided input.
Constructors
new(pull : JSON::PullParser)
Sourcenew(text : String = "", logprobs : Array(CreateTranscriptionResponseJsonLogprobsItem) | Nil = nil, usage : CreateTranscriptionResponseJsonUsage | Nil = nil)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
logprobs
The log probabilities of the tokens in the transcription. Only returned with the models gpt-4o-transcribe and gpt-4o-mini-transcribe if logprobs is added to the include array.
The log probabilities of the tokens in the transcription. Only returned with the models gpt-4o-transcribe and gpt-4o-mini-transcribe if logprobs is added to the include array.
usage=(usage : CreateTranscriptionResponseJsonUsage | Nil)
Token usage statistics for the request.