Поделиться через


ConnectedAgentDetails Class

Definition

Information for connecting one agent to another as a tool.

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

Constructors

ConnectedAgentDetails(String, String, String)

Initializes a new instance of ConnectedAgentDetails.

Properties

Description

A description of what the agent does, used by the model to choose when and how to call the agent.

Id

The identifier of the child agent.

Name

The name of the agent to be called.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConnectedAgentDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ConnectedAgentDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConnectedAgentDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConnectedAgentDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ConnectedAgentDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to