Language

VoiceAgentSubagent Class

Definition

A sibling Foundry text agent that a voice agent may consult as a background specialist.

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

Constructors

Name Description
VoiceAgentSubagent(String, String)

Initializes a new instance of VoiceAgentSubagent.

Properties

Name Description
AgentCapabilities

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

AgentName

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

AgentVersion

The version of the subagent. When omitted, the active version is used.

InvokeTimeoutSeconds

The wall-clock timeout, in seconds, for each invocation of this subagent. When omitted, the service timeout is used.

ResponsePolicy

Policy for acknowledging forwarded requests and filling gaps while waiting for this subagent's response.

Methods

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

Explicit Interface Implementations

Name Description
IJsonModel<VoiceAgentSubagent>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<VoiceAgentSubagent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<VoiceAgentSubagent>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<VoiceAgentSubagent>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<VoiceAgentSubagent>.Write(ModelReaderWriterOptions)

Applies to