Language

ProjectsAgentsModelFactory.AgentOptimizationCandidatePromotion Method

Definition

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.

Applies to