Table of Contents

Class WordInfo

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Information about a single recognized word in a Transcription.

public class WordInfo
Inheritance
WordInfo
Inherited Members
Extension Methods

Properties

EndOffset

End offset in time of the word relative to the start of the audio (a duration string such as "1.5s").

[JsonPropertyName("endOffset")]
public string? EndOffset { get; set; }

Property Value

string

StartOffset

Start offset in time of the word relative to the start of the audio (a duration string such as "1.5s").

[JsonPropertyName("startOffset")]
public string? StartOffset { get; set; }

Property Value

string

Word

Transcript of the word.

[JsonPropertyName("word")]
public string? Word { get; set; }

Property Value

string