Language

ProjectsAgentsModelFactory.AgentOptimizationCandidatePromotionInfo Method

Definition

Promotion metadata recorded for a candidate.

public static Azure.AI.Projects.Agents.AgentOptimizationCandidatePromotionInfo AgentOptimizationCandidatePromotionInfo(DateTimeOffset promotedOn = default, Azure.AI.Projects.Agents.AgentReference promotedAgent = default);
static member AgentOptimizationCandidatePromotionInfo : DateTimeOffset * Azure.AI.Projects.Agents.AgentReference -> Azure.AI.Projects.Agents.AgentOptimizationCandidatePromotionInfo
Public Shared Function AgentOptimizationCandidatePromotionInfo (Optional promotedOn As DateTimeOffset = Nothing, Optional promotedAgent As AgentReference = Nothing) As AgentOptimizationCandidatePromotionInfo

Parameters

promotedOn
DateTimeOffset

Timestamp when promotion occurred, represented in Unix time.

promotedAgent
AgentReference

Agent reference associated with the completed promotion.

Returns

A new AgentOptimizationCandidatePromotionInfo instance for mocking.

Applies to