ProjectsAgentsModelFactory.ProjectsAgentVersionCreationOptions 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 ProjectsAgentVersionCreationOptions.
public static Azure.AI.Projects.Agents.ProjectsAgentVersionCreationOptions ProjectsAgentVersionCreationOptions(System.Collections.Generic.IDictionary<string,string> metadata = default, string description = default, Azure.AI.Projects.Agents.ProjectsAgentDefinition definition = default);
static member ProjectsAgentVersionCreationOptions : System.Collections.Generic.IDictionary<string, string> * string * Azure.AI.Projects.Agents.ProjectsAgentDefinition -> Azure.AI.Projects.Agents.ProjectsAgentVersionCreationOptions
Public Shared Function ProjectsAgentVersionCreationOptions (Optional metadata As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional definition As ProjectsAgentDefinition = Nothing) As ProjectsAgentVersionCreationOptions
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.
- description
- String
A human-readable description of the agent.
- definition
- ProjectsAgentDefinition
The agent definition. This can be a workflow, hosted agent, or a simple agent definition.
Returns
A new ProjectsAgentVersionCreationOptions instance for mocking.