VoiceAgentSubagent(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.