.NET API
SpeechDialogueTurn
Namespace Tracon · Assembly
Tracon.Abstractions.dllOne turn of a dialogue: a text and the voice that speaks it.
public sealed record SpeechDialogueTurn : IEquatable<SpeechDialogueTurn>- Inheritance
- object ← SpeechDialogueTurn
- Implements
- IEquatable<SpeechDialogueTurn>
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”SpeechDialogueTurn()
Section titled “ SpeechDialogueTurn()”public SpeechDialogueTurn()Properties
Section titled “Properties”Gets the text to speak.
public required string Text { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Sent as written. A provider’s inline tags (for example ElevenLabs’
[laughs]) pass through unchanged and count toward the character limit.
VoiceId
Section titled “ VoiceId”Gets the identifier of the voice that speaks the text.
public required string VoiceId { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”Required: a dialogue turn has no default voice.
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(SpeechDialogueTurn?)
Section titled “ Equals(SpeechDialogueTurn?)”public bool Equals(SpeechDialogueTurn? other)Parameters
Section titled “Parameters”other SpeechDialogueTurn?
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 ==(SpeechDialogueTurn?, SpeechDialogueTurn?)
Section titled “ operator ==(SpeechDialogueTurn?, SpeechDialogueTurn?)”public static bool operator ==(SpeechDialogueTurn? left, SpeechDialogueTurn? right)Parameters
Section titled “Parameters”left SpeechDialogueTurn?
right SpeechDialogueTurn?
Returns
Section titled “Returns”operator !=(SpeechDialogueTurn?, SpeechDialogueTurn?)
Section titled “ operator !=(SpeechDialogueTurn?, SpeechDialogueTurn?)”public static bool operator !=(SpeechDialogueTurn? left, SpeechDialogueTurn? right)Parameters
Section titled “Parameters”left SpeechDialogueTurn?
right SpeechDialogueTurn?