AgentOptimizationTraceEvaluatorGenerationConfiguration interface

Generates an evaluator from the job's trace evidence or a separate evaluator-only trace selection.

Extends

Properties

trace_window

Optional trace selection used only to generate the evaluator. When omitted, reuses the agent_traces context window. An override does not change dataset generation, learning evidence, or validation partitioning. Uses the same fixed-window truncation and trace-ID lookup rules as the context window.

type

Generate evaluators from the agent_traces context.

Inherited Properties

prompt

Additional instructions or context to guide evaluator generation from the selected source.

Property Details

trace_window

Optional trace selection used only to generate the evaluator. When omitted, reuses the agent_traces context window. An override does not change dataset generation, learning evidence, or validation partitioning. Uses the same fixed-window truncation and trace-ID lookup rules as the context window.

trace_window?: AgentOptimizationTraceWindowUnion

Property Value

type

Generate evaluators from the agent_traces context.

type: "agent_traces"

Property Value

"agent_traces"

Inherited Property Details

prompt

Additional instructions or context to guide evaluator generation from the selected source.

prompt?: string

Property Value

string

Inherited From AgentOptimizationEvaluatorGenerationConfiguration.prompt