Table of Contents

Class TranscriptionDetailsResult

Namespace
Mabs.AudioCpp.Models
Assembly
AudioCpp.dll

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

string

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

IReadOnlyList<AudioCppSegment>

SpeakerTurns

Speaker turns, when the model diarized.

public IReadOnlyList<AudioCppSpeakerTurn>? SpeakerTurns { get; }

Property Value

IReadOnlyList<AudioCppSpeakerTurn>

Text

Recognized text.

public string? Text { get; }

Property Value

string

Timing

Run timing.

public AudioCppTiming? Timing { get; }

Property Value

AudioCppTiming

Words

Word timestamps, when the model aligned words.

public IReadOnlyList<AudioCppWord>? Words { get; }

Property Value

IReadOnlyList<AudioCppWord>

Methods

Parse(string?)

Parses a cached response JSON (a disk cache hit rebuilds the result).

public static TranscriptionDetailsResult Parse(string? json)

Parameters

json string

The raw JSON response body.

Returns

TranscriptionDetailsResult

The parsed result; throws JsonException on null, invalid JSON, or a non-object root.