Lingua

VoiceHostedAgentConversationEngine Class

Definition

A closed reference to the hosted text agent that owns conversation handling for a voice agent. The hosted agent is resolved within the same project and must declare voice_conversation_engine version 1.0.0. Voice Live connects through the dedicated voice-conversation-engine endpoint using the existing Bridge Protocol 1.0 wire semantics; the Bridge message version is independent of the container protocol version and the Hosted Agents API version v1. Declaring invocations_ws is optional and does not substitute for voice_conversation_engine.

public class VoiceHostedAgentConversationEngine : Azure.AI.Projects.Agents.VoiceConversationEngine, System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.Agents.VoiceHostedAgentConversationEngine>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.Agents.VoiceHostedAgentConversationEngine>
type VoiceHostedAgentConversationEngine = class
    inherit VoiceConversationEngine
    interface IJsonModel<VoiceHostedAgentConversationEngine>
    interface IPersistableModel<VoiceHostedAgentConversationEngine>
Public Class VoiceHostedAgentConversationEngine
Inherits VoiceConversationEngine
Implements IJsonModel(Of VoiceHostedAgentConversationEngine), IPersistableModel(Of VoiceHostedAgentConversationEngine)
Inheritance
VoiceHostedAgentConversationEngine
Implements

Constructors

Name Description
VoiceHostedAgentConversationEngine(String)

Initializes a new instance of VoiceHostedAgentConversationEngine.

Properties

Name Description
Name

The non-empty DNS-like name of the target hosted text agent in the same project.

Version

The target agent version. Omit this property to select the latest version when the voice session starts. When supplied, use a positive integer or draft-{positive-unix-timestamp} whose numeric component fits in a signed 64-bit integer.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<VoiceConversationEngine>.Create(Utf8JsonReader, ModelReaderWriterOptions) (Inherited from VoiceConversationEngine)
IJsonModel<VoiceConversationEngine>.Write(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from VoiceConversationEngine)
IJsonModel<VoiceHostedAgentConversationEngine>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VoiceHostedAgentConversationEngine>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VoiceConversationEngine>.Create(BinaryData, ModelReaderWriterOptions) (Inherited from VoiceConversationEngine)
IPersistableModel<VoiceConversationEngine>.GetFormatFromOptions(ModelReaderWriterOptions) (Inherited from VoiceConversationEngine)
IPersistableModel<VoiceConversationEngine>.Write(ModelReaderWriterOptions) (Inherited from VoiceConversationEngine)
IPersistableModel<VoiceHostedAgentConversationEngine>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VoiceHostedAgentConversationEngine>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VoiceHostedAgentConversationEngine>.Write(ModelReaderWriterOptions)

Applies to