AxAgentPlaybookEvolveRunRecord Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxAgentPlaybookEvolveRunRecord.md type AxAgentPlaybookEvolveRunRecord

AxAgentPlaybookEvolveRunRecord

TypeScript
type AxAgentPlaybookEvolveRunRecord<IN, OUT> = object;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/playbookEvolve/playbookEvolveTypes.ts#L20

One executed (task, prediction, score) triple from the batch harness.

Type Parameters

Type ParameterDefault type
IN extends AxGenInAxGenIn
OUT extends AxGenOutAxGenOut

Properties

error?

TypeScript
optional error: string;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/playbookEvolve/playbookEvolveTypes.ts#L31

Message of a thrown (non-clarification) run error.


passed

TypeScript
passed: boolean;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/playbookEvolve/playbookEvolveTypes.ts#L29

score >= scoreThreshold and the run neither threw nor stalled.


prediction?

TypeScript
optional prediction: AxAgentEvalPrediction<OUT>;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/playbookEvolve/playbookEvolveTypes.ts#L26

Absent when the run threw before producing a prediction.


score

TypeScript
score: number;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/playbookEvolve/playbookEvolveTypes.ts#L27


task

TypeScript
task: AxAgentEvalTask<IN>;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/playbookEvolve/playbookEvolveTypes.ts#L24

Docs