Table of Contents

Class FinalTranscript

Namespace
AssemblyAI.Realtime
Assembly
AssemblyAI.dll
public record FinalTranscript : IEquatable<FinalTranscript>
Inheritance
FinalTranscript
Implements
Inherited Members

Properties

AudioEnd

End time of audio sample relative to session start, in milliseconds

[JsonPropertyName("audio_end")]
public required int AudioEnd { get; set; }

Property Value

int

AudioStart

Start time of audio sample relative to session start, in milliseconds

[JsonPropertyName("audio_start")]
public required int AudioStart { get; set; }

Property Value

int

Confidence

The confidence score of the entire transcription, between 0 and 1

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

Property Value

double

Created

The timestamp for the partial transcript

[JsonPropertyName("created")]
public required DateTime Created { get; set; }

Property Value

DateTime

MessageType

Describes the type of message

[JsonPropertyName("message_type")]
public required string MessageType { get; set; }

Property Value

string

Punctuated

Whether the text is punctuated and cased

[JsonPropertyName("punctuated")]
public required bool Punctuated { get; set; }

Property Value

bool

Text

The partial transcript for your audio

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

Property Value

string

TextFormatted

Whether the text is formatted, for example Dollar -> $

[JsonPropertyName("text_formatted")]
public required bool TextFormatted { get; set; }

Property Value

bool

Words

An array of objects, with the information for each word in the transcription text. Includes the start and end time of the word in milliseconds, the confidence score of the word, and the text, which is the word itself.

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

Property Value

IEnumerable<Word>

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.