Share via


AgentReference Class

Definition

The AgentReference.

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

Constructors

Name Description
AgentReference(String, String)

Properties

Name Description
Name

The name of the agent.

Version

The version identifier of the agent.

Methods

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

Operators

Name Description
Implicit(AgentRecord to AgentReference)
Implicit(AgentVersion to AgentReference)
Implicit(String to AgentReference)

Explicit Interface Implementations

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

Applies to