PromptOptimizationConfiguration interface

Configuration for a one-shot prompt transformation without comparative evaluation.

Extends

Properties

context

Steering context for prompt optimization. Agent trace and skill reference context are supported only by skill optimization. Omitted when no context is supplied.

type

Optimization type discriminator.

Property Details

context

Steering context for prompt optimization. Agent trace and skill reference context are supported only by skill optimization. Omitted when no context is supplied.

context?: OptimizationContextUnion[]

Property Value

type

Optimization type discriminator.

type: "prompt_optimization"

Property Value

"prompt_optimization"