Class TranscriptionDetailsResult
Rich transcription response with the detail arrays the model produced.
public sealed class TranscriptionDetailsResult
- Inheritance
-
TranscriptionDetailsResult
- Inherited Members
Properties
Language
Detected or configured language.
public string? Language { get; }
Property Value
SampleRate
Sample rate the offsets are counted in; present alongside the arrays.
public int? SampleRate { get; }
Property Value
- int?
Segments
Speech segments, when the model produced them.
public IReadOnlyList<AudioCppSegment>? Segments { get; }
Property Value
SpeakerTurns
Speaker turns, when the model diarized.
public IReadOnlyList<AudioCppSpeakerTurn>? SpeakerTurns { get; }
Property Value
Text
Recognized text.
public string? Text { get; }
Property Value
Timing
Run timing.
public AudioCppTiming? Timing { get; }
Property Value
Words
Word timestamps, when the model aligned words.
public IReadOnlyList<AudioCppWord>? Words { get; }
Property Value
Methods
Parse(string?)
Parses a cached response JSON (a disk cache hit rebuilds the result).
public static TranscriptionDetailsResult Parse(string? json)
Parameters
jsonstringThe raw JSON response body.
Returns
- TranscriptionDetailsResult
The parsed result; throws JsonException on null, invalid JSON, or a non-object root.