Struct TranscriptionRequest
One recording to transcribe.
public readonly record struct TranscriptionRequest : IEquatable<TranscriptionRequest>
Implements
Properties
Audio
The encoded audio, exactly as it arrived from its transport.
public ReadOnlyMemory<byte> Audio { get; init; }
FileName
Name to upload the audio under, e.g. voice.oga. Not cosmetic: speech
public string FileName { get; init; }
Language
ISO-639-1 hint ("ru"). Null lets the model detect it — more forgiving on
public string? Language { get; init; }
Prompt
Optional decoding hint, in the model's own words: names and terms it would not
public string? Prompt { get; init; }
Constructors
TranscriptionRequest(ReadOnlyMemory<byte>, string, string?, string?)
One recording to transcribe.