ProjectsOpenAIModelFactory.AgentVersion Method
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.
The AgentVersion.
public static Azure.AI.Projects.OpenAI.AgentVersion AgentVersion(System.Collections.Generic.IDictionary<string,string> metadata = default, string id = default, string name = default, string version = default, string description = default, DateTimeOffset createdAt = default, Azure.AI.Projects.OpenAI.AgentDefinition definition = default);
static member AgentVersion : System.Collections.Generic.IDictionary<string, string> * string * string * string * string * DateTimeOffset * Azure.AI.Projects.OpenAI.AgentDefinition -> Azure.AI.Projects.OpenAI.AgentVersion
Public Shared Function AgentVersion (Optional metadata As IDictionary(Of String, String) = Nothing, Optional id As String = Nothing, Optional name As String = Nothing, Optional version As String = Nothing, Optional description As String = Nothing, Optional createdAt As DateTimeOffset = Nothing, Optional definition As AgentDefinition = Nothing) As AgentVersion
Parameters
- metadata
- IDictionary<String,String>
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.
- id
- String
The unique identifier of the agent version.
- name
- String
The name of the agent. Name can be used to retrieve/update/delete the agent.
- version
- String
The version identifier of the agent. Agents are immutable and every update creates a new version while keeping the name same.
- description
- String
A human-readable description of the agent.
- createdAt
- DateTimeOffset
The Unix timestamp (seconds) when the agent was created.
- definition
- AgentDefinition
Returns
A new AgentVersion instance for mocking.