Språk

ProjectsAgentsModelFactory.VoiceHostedAgentConversationEngine Method

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 static Azure.AI.Projects.Agents.VoiceHostedAgentConversationEngine VoiceHostedAgentConversationEngine(string name = default, string version = default);
static member VoiceHostedAgentConversationEngine : string * string -> Azure.AI.Projects.Agents.VoiceHostedAgentConversationEngine
Public Shared Function VoiceHostedAgentConversationEngine (Optional name As String = Nothing, Optional version As String = Nothing) As VoiceHostedAgentConversationEngine

Parameters

name
String

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

version
String

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.

Returns

A new VoiceHostedAgentConversationEngine instance for mocking.

Applies to