Table of Contents

Class TranscriptUtterance

Namespace
AssemblyAI.Transcripts
Assembly
AssemblyAI.dll
public record TranscriptUtterance : IEquatable<TranscriptUtterance>
Inheritance
TranscriptUtterance
Implements
Inherited Members

Properties

Channel

The channel of this utterance. The left and right channels are channels 1 and 2. Additional channels increment the channel number sequentially.

[JsonPropertyName("channel")]
public string? Channel { get; set; }

Property Value

string

Confidence

The confidence score for the transcript of this utterance

[JsonPropertyName("confidence")]
public required double Confidence { get; set; }

Property Value

double

End

The ending time, in milliseconds, of the utterance in the audio file

[JsonPropertyName("end")]
public required int End { get; set; }

Property Value

int

Speaker

The speaker of this utterance, where each speaker is assigned a sequential capital letter - e.g. "A" for Speaker A, "B" for Speaker B, etc.

[JsonPropertyName("speaker")]
public required string Speaker { get; set; }

Property Value

string

Start

The starting time, in milliseconds, of the utterance in the audio file

[JsonPropertyName("start")]
public required int Start { get; set; }

Property Value

int

Text

The text for this utterance

[JsonPropertyName("text")]
public required string Text { get; set; }

Property Value

string

Words

The words in the utterance.

[JsonPropertyName("words")]
public IEnumerable<TranscriptWord> Words { get; set; }

Property Value

IEnumerable<TranscriptWord>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.