.NET API
SpeechToTextClientBinding
Namespace Tracon · Assembly
Tracon.Core.dllBinds 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()
Remarks
Section titled “Remarks”Pass it to TraconBuilderExtensions.AddSpeechTranscriber. The client stays in the container, as for TextToSpeechClientBinding.
Constructors
Section titled “Constructors”SpeechToTextClientBinding()
Section titled “ SpeechToTextClientBinding()”public SpeechToTextClientBinding()Properties
Section titled “Properties”ProviderName
Section titled “ ProviderName”Gets the provider name, or null to read it from the client’s metadata.
public string? ProviderName { get; init; }Property Value
Section titled “Property Value”Remarks
Section titled “Remarks”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.
ServiceKey
Section titled “ ServiceKey”Gets the service key the client is registered under, or null for the unkeyed registration.
public object? ServiceKey { 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(SpeechToTextClientBinding?)
Section titled “ Equals(SpeechToTextClientBinding?)”public bool Equals(SpeechToTextClientBinding? other)Parameters
Section titled “Parameters”other SpeechToTextClientBinding?
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 ==(SpeechToTextClientBinding?, SpeechToTextClientBinding?)
Section titled “ operator ==(SpeechToTextClientBinding?, SpeechToTextClientBinding?)”public static bool operator ==(SpeechToTextClientBinding? left, SpeechToTextClientBinding? right)Parameters
Section titled “Parameters”left SpeechToTextClientBinding?
right SpeechToTextClientBinding?
Returns
Section titled “Returns”operator !=(SpeechToTextClientBinding?, SpeechToTextClientBinding?)
Section titled “ operator !=(SpeechToTextClientBinding?, SpeechToTextClientBinding?)”public static bool operator !=(SpeechToTextClientBinding? left, SpeechToTextClientBinding? right)Parameters
Section titled “Parameters”left SpeechToTextClientBinding?
right SpeechToTextClientBinding?