Skip to content

SpeakRequest

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

A speech synthesis request as an operator action.

public sealed record SpeakRequest : IEquatable<SpeakRequest>

objectSpeakRequest

IEquatable<SpeakRequest>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public SpeakRequest()

Requests character-level timing alongside the audio. Default false.

public bool IncludeTimestamps { get; init; }

bool

The session the attachment is bound to. If left empty, the attachment is considered orphaned and deleted by the retention policy.

public string? SessionId { get; init; }

string?

The text to speak.

public required string Text { get; init; }

string

The identifier of the voice to use. The default voice if empty.

public string? VoiceId { get; init; }

string?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(SpeakRequest? other)

other SpeakRequest?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(SpeakRequest?, SpeakRequest?)

Section titled “ operator ==(SpeakRequest?, SpeakRequest?)”
public static bool operator ==(SpeakRequest? left, SpeakRequest? right)

left SpeakRequest?

right SpeakRequest?

bool

operator !=(SpeakRequest?, SpeakRequest?)

Section titled “ operator !=(SpeakRequest?, SpeakRequest?)”
public static bool operator !=(SpeakRequest? left, SpeakRequest? right)

left SpeakRequest?

right SpeakRequest?

bool