Skip to content

SpeechTranscriptionOptions

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Speech-to-text conversion settings.

public sealed record SpeechTranscriptionOptions : IEquatable<SpeechTranscriptionOptions>

objectSpeechTranscriptionOptions

IEquatable<SpeechTranscriptionOptions>

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

public SpeechTranscriptionOptions()

The expected language’s ISO 639-1 code. The provider detects it if empty.

public string? LanguageCode { get; init; }

string?

The model to use. VoiceOptions.TranscriptionModelId if empty.

public string? ModelId { get; init; }

string?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(SpeechTranscriptionOptions? other)

other SpeechTranscriptionOptions?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(SpeechTranscriptionOptions?, SpeechTranscriptionOptions?)

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

left SpeechTranscriptionOptions?

right SpeechTranscriptionOptions?

bool

operator !=(SpeechTranscriptionOptions?, SpeechTranscriptionOptions?)

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

left SpeechTranscriptionOptions?

right SpeechTranscriptionOptions?

bool