AgentOptimizationPromptCandidateOutput interface

Candidate output produced by a prompt-optimization job.

Extends

Properties

mutations

Typed configuration mutations applied to the baseline. Omitted for the baseline candidate. LIST without expand=mutations returns mutation items with only type; expanded LIST and candidate GET populate each mutation's value.

type

The discriminator possible values: agent_optimization, prompt_optimization

Property Details

mutations

Typed configuration mutations applied to the baseline. Omitted for the baseline candidate. LIST without expand=mutations returns mutation items with only type; expanded LIST and candidate GET populate each mutation's value.

mutations?: AgentOptimizationMutationUnion[]

Property Value

type

The discriminator possible values: agent_optimization, prompt_optimization

type: "prompt_optimization"

Property Value

"prompt_optimization"