Language

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 support the invocations_ws protocol, Voice Live compatibility, and Bridge Protocol 1.0.

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