Table of Contents

Class InteractionSpeechAnnotation

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

Speech synthesis metadata for a text segment (speech_metadata).

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

Constructors

InteractionSpeechAnnotation()

Initializes a new instance of the InteractionSpeechAnnotation class.

public InteractionSpeechAnnotation()

Properties

Speaker

The speaker to associate with this turn.

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

Property Value

string

Style

Style instruction for the speech synthesis.

[JsonPropertyName("style")]
public string? Style { get; set; }

Property Value

string