SpeechTranscript
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe result of speech-to-text conversion.
public sealed record SpeechTranscript : IEquatable<SpeechTranscript>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”SpeechTranscript()
Section titled “ SpeechTranscript()”public SpeechTranscript()Properties
Section titled “Properties”AudioDuration
Section titled “ AudioDuration”The duration of the transcribed audio. Cost is computed from this.
public TimeSpan? AudioDuration { get; init; }Property Value
Section titled “Property Value”LanguageCode
Section titled “ LanguageCode”The detected language’s code.
public string? LanguageCode { get; init; }Property Value
Section titled “Property Value”LanguageProbability
Section titled “ LanguageProbability”The confidence of language detection (0-1).
public double? LanguageProbability { get; init; }Property Value
Section titled “Property Value”The transcribed text.
public required string Text { 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(SpeechTranscript?)
Section titled “ Equals(SpeechTranscript?)”public bool Equals(SpeechTranscript? other)Parameters
Section titled “Parameters”other SpeechTranscript?
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 ==(SpeechTranscript?, SpeechTranscript?)
Section titled “ operator ==(SpeechTranscript?, SpeechTranscript?)”public static bool operator ==(SpeechTranscript? left, SpeechTranscript? right)Parameters
Section titled “Parameters”left SpeechTranscript?
right SpeechTranscript?
Returns
Section titled “Returns”operator !=(SpeechTranscript?, SpeechTranscript?)
Section titled “ operator !=(SpeechTranscript?, SpeechTranscript?)”public static bool operator !=(SpeechTranscript? left, SpeechTranscript? right)Parameters
Section titled “Parameters”left SpeechTranscript?
right SpeechTranscript?