Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/agent / evaluator-optimizer / EvaluatorOptimizerOutcome
Interface: EvaluatorOptimizerOutcome<TOutput>
Defined in: packages/agent/src/evaluator-optimizer/index.ts:91
Aggregate outcome of an evaluatorOptimizer({...}) run.
Stable
Type Parameters
| Type Parameter |
|---|
TOutput |
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
finalScore | readonly | number | packages/agent/src/evaluator-optimizer/index.ts:102 |
iterations | readonly | readonly { candidate: TOutput; critique: string; durationMs: number; iteration: number; pass: boolean; score: number; }[] | packages/agent/src/evaluator-optimizer/index.ts:93 |
output | readonly | TOutput | packages/agent/src/evaluator-optimizer/index.ts:92 |
terminationReason | readonly | "cancelled" | "pass" | "maxIterations" | "generator-exhausted" | packages/agent/src/evaluator-optimizer/index.ts:101 |