Table of Contents

Class InteractionWordInfo

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Word-level transcription information (word_info).

public sealed class InteractionWordInfo : InteractionAnnotation
Inheritance
InteractionWordInfo
Inherited Members
Extension Methods

Constructors

InteractionWordInfo()

Initializes a new instance of the InteractionWordInfo class.

public InteractionWordInfo()

Properties

EndOffset

End offset in time of the word relative to the start of the audio.

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

Property Value

string

Speaker

Speaker label for this word (e.g. spk_1).

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

Property Value

string

StartOffset

Start offset in time of the word relative to the start of the audio.

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

Property Value

string

Text

The transcribed word.

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

Property Value

string