Skip to content
Tracon

SpeechTranscriptionOptions

Namespace Tracon · Assembly Tracon.Abstractions.dll

Speech-to-text conversion settings.

public sealed record SpeechTranscriptionOptions : IEquatable<SpeechTranscriptionOptions>
Inheritance
object ← SpeechTranscriptionOptions
Implements
IEquatable<SpeechTranscriptionOptions>
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
public SpeechTranscriptionOptions()

The tenant’s own credential for the provider, or null to use the credential the transcriber was configured with.

public ModelProviderCredential? Credential { get; init; }

ModelProviderCredential?

Tracon sets it only for a transcriber whose ISpeechTranscriber.SupportsTenantCredentials is true. It lives in memory for the call and is never persisted.

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

public string? LanguageCode { get; init; }

string?

The model to use. When empty, the transcriber uses its own default (the built-in client: VoiceOptions.TranscriptionModelId).

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