Share via


AgentVersion Class

Definition

The AgentVersion.

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

Properties

Name Description
CreatedAt

The Unix timestamp (seconds) when the agent was created.

Definition

Gets the Definition.

Description

A human-readable description of the agent.

Id

The unique identifier of the agent version.

Metadata

Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard.

Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

Name

The name of the agent. Name can be used to retrieve/update/delete the agent.

Version

The version identifier of the agent. Agents are immutable and every update creates a new version while keeping the name same.

Methods

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

Explicit Interface Implementations

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

Applies to