ProjectsAgentsModelFactory.OptimizationJobProgress 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.
In-flight progress; only populated while status is queued or in_progress.
public static Azure.AI.Projects.Agents.OptimizationJobProgress OptimizationJobProgress(int currentIteration = 0, double bestScore = 0, double elapsedSeconds = 0);
static member OptimizationJobProgress : int * double * double -> Azure.AI.Projects.Agents.OptimizationJobProgress
Public Shared Function OptimizationJobProgress (Optional currentIteration As Integer = 0, Optional bestScore As Double = 0, Optional elapsedSeconds As Double = 0) As OptimizationJobProgress
Parameters
- currentIteration
- Int32
1-based current iteration index.
- bestScore
- Double
Best score observed so far across all candidates.
- elapsedSeconds
- Double
Wall-clock time elapsed in seconds since the job began executing.
Returns
A new OptimizationJobProgress instance for mocking.