Skip to content
Tracon

SpeechToTextClientBinding

Namespace Tracon · Assembly Tracon.Core.dll

Binds a Microsoft.Extensions.AI speech-to-text client in the container to a named Tracon speech transcriber.

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

Pass it to TraconBuilderExtensions.AddSpeechTranscriber. The client stays in the container, as for TextToSpeechClientBinding.

public SpeechToTextClientBinding()

Gets the provider name, or null to read it from the client’s metadata.

public string? ProviderName { get; init; }

string?

The same rule as TextToSpeechClientBinding.ProviderName: a tenant’s egress policy names this value, and a client with no name stops the host at startup.

Gets the service key the client is registered under, or null for the unkeyed registration.

public object? ServiceKey { get; init; }

object?

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(SpeechToTextClientBinding? other)

other SpeechToTextClientBinding?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(SpeechToTextClientBinding?, SpeechToTextClientBinding?)

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

left SpeechToTextClientBinding?

right SpeechToTextClientBinding?

bool

operator !=(SpeechToTextClientBinding?, SpeechToTextClientBinding?)

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

left SpeechToTextClientBinding?

right SpeechToTextClientBinding?

bool