SpeakRequest
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllA speech synthesis request as an operator action.
public sealed record SpeakRequest : IEquatable<SpeakRequest>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”SpeakRequest()
Section titled “ SpeakRequest()”public SpeakRequest()Properties
Section titled “Properties”IncludeTimestamps
Section titled “ IncludeTimestamps”Requests character-level timing alongside the audio. Default false.
public bool IncludeTimestamps { get; init; }Property Value
Section titled “Property Value”SessionId
Section titled “ SessionId”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; }Property Value
Section titled “Property Value”The text to speak.
public required string Text { get; init; }Property Value
Section titled “Property Value”VoiceId
Section titled “ VoiceId”The identifier of the voice to use. The default voice if empty.
public string? VoiceId { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(SpeakRequest?)
Section titled “ Equals(SpeakRequest?)”public bool Equals(SpeakRequest? other)Parameters
Section titled “Parameters”other SpeakRequest?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(SpeakRequest?, SpeakRequest?)
Section titled “ operator ==(SpeakRequest?, SpeakRequest?)”public static bool operator ==(SpeakRequest? left, SpeakRequest? right)Parameters
Section titled “Parameters”left SpeakRequest?
right SpeakRequest?
Returns
Section titled “Returns”operator !=(SpeakRequest?, SpeakRequest?)
Section titled “ operator !=(SpeakRequest?, SpeakRequest?)”public static bool operator !=(SpeakRequest? left, SpeakRequest? right)Parameters
Section titled “Parameters”left SpeakRequest?
right SpeakRequest?