Language

VoiceAgentSubagent(String, String) Constructor

Definition

Initializes a new instance of VoiceAgentSubagent.

public VoiceAgentSubagent(string agentName, string agentCapabilities);
new Azure.AI.Projects.Agents.VoiceAgentSubagent : string * string -> Azure.AI.Projects.Agents.VoiceAgentSubagent
Public Sub New (agentName As String, agentCapabilities As String)

Parameters

agentName
String

The name of the subagent. The subagent must be in the same project as the voice agent.

agentCapabilities
String

A description of the subagent's capabilities, used by the voice agent to decide whether to forward a query.

Exceptions

agentName or agentCapabilities is null.

Applies to