Table of Contents

Class RealtimeBaseTranscript

Namespace
AssemblyAI.Realtime
Assembly
AssemblyAI.dll
public record RealtimeBaseTranscript : IEquatable<RealtimeBaseTranscript>
Inheritance
RealtimeBaseTranscript
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

Text

The partial transcript for your audio

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

Property Value

string

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.