ProjectsAgentsModelFactory.AgentOptimizationCandidatePromotion 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.
Promotion metadata recorded for a candidate.
public static Azure.AI.Projects.Agents.AgentOptimizationCandidatePromotion AgentOptimizationCandidatePromotion(DateTimeOffset promotedOn = default, Azure.AI.Extensions.OpenAI.AgentReference promotedAgent = default);
static member AgentOptimizationCandidatePromotion : DateTimeOffset * Azure.AI.Extensions.OpenAI.AgentReference -> Azure.AI.Projects.Agents.AgentOptimizationCandidatePromotion
Public Shared Function AgentOptimizationCandidatePromotion (Optional promotedOn As DateTimeOffset = Nothing, Optional promotedAgent As AgentReference = Nothing) As AgentOptimizationCandidatePromotion
Parameters
- promotedOn
- DateTimeOffset
Timestamp when promotion occurred, represented in Unix time.
- promotedAgent
- AgentReference
Agent reference associated with the completed promotion.
Returns
A new AgentOptimizationCandidatePromotion instance for mocking.