Class TranscriptionResult
Represents the complete transcription result from a voice call recording, containing all channels and their transcripts.
public record TranscriptionResult : IEquatable<TranscriptionResult>
- Inheritance
-
TranscriptionResult
- Implements
- Inherited Members
Constructors
TranscriptionResult(string, Guid, IReadOnlyList<Channel>)
Represents the complete transcription result from a voice call recording, containing all channels and their transcripts.
public TranscriptionResult(string Version, Guid RequestId, IReadOnlyList<Channel> Channels)
Parameters
VersionstringThe version of the transcription format.
RequestIdGuidThe unique identifier for the transcription request.
ChannelsIReadOnlyList<Channel>The list of audio channels, each containing transcript segments.
Properties
Channels
The list of audio channels, each containing transcript segments.
[JsonProperty("channels")]
[JsonPropertyName("channels")]
public IReadOnlyList<Channel> Channels { get; init; }
Property Value
RequestId
The unique identifier for the transcription request.
[JsonProperty("request_id")]
[JsonPropertyName("request_id")]
public Guid RequestId { get; init; }
Property Value
Version
The version of the transcription format.
[JsonProperty("ver")]
[JsonPropertyName("ver")]
public string Version { get; init; }
Property Value
Methods
ExtractTranscripts()
Extracts the full transcript text from each channel as a collection of strings.
public IEnumerable<string> ExtractTranscripts()
Returns
- IEnumerable<string>
An enumerable of transcript strings, one per channel.