73 lines
1.7 KiB
TypeScript
73 lines
1.7 KiB
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
|
|
/**
|
|
* Parameters for the durable GEPA tool (visible to LLM / used as spawn params).
|
|
*/
|
|
export type GepaToolParams = {
|
|
/**
|
|
* Name of the function being optimized.
|
|
*/
|
|
function_name: string;
|
|
/**
|
|
* Single dataset name (auto-split 50/50).
|
|
* Mutually exclusive with `train_dataset_name`/`val_dataset_name`.
|
|
*/
|
|
dataset_name?: string;
|
|
/**
|
|
* Training dataset name.
|
|
*/
|
|
train_dataset_name?: string;
|
|
/**
|
|
* Validation dataset name.
|
|
*/
|
|
val_dataset_name?: string;
|
|
/**
|
|
* Named evaluation. Mutually exclusive with `evaluators`.
|
|
*/
|
|
evaluation_name?: string;
|
|
/**
|
|
* Inline list of evaluator names. Mutually exclusive with `evaluation_name`.
|
|
*/
|
|
evaluators?: Array<string>;
|
|
/**
|
|
* Model for analysis (e.g., "anthropic::claude-sonnet-4-5").
|
|
*/
|
|
analysis_model: string;
|
|
/**
|
|
* Model for mutation.
|
|
*/
|
|
mutation_model: string;
|
|
/**
|
|
* Optional list of variant names to initialize GEPA with.
|
|
*/
|
|
initial_variants?: Array<string>;
|
|
/**
|
|
* Maximum number of training iterations.
|
|
*/
|
|
max_iterations: number;
|
|
/**
|
|
* Prefix for the name of the new optimized variants.
|
|
*/
|
|
variant_prefix?: string;
|
|
/**
|
|
* Number of training samples to analyze per iteration.
|
|
*/
|
|
batch_size?: number;
|
|
/**
|
|
* Optional random seed for reproducibility.
|
|
*/
|
|
seed?: number;
|
|
/**
|
|
* Whether to include inference input and output in Analysis for mutation.
|
|
*/
|
|
include_inference_for_mutation?: boolean;
|
|
/**
|
|
* Maximum number of concurrent inference calls.
|
|
*/
|
|
max_concurrency?: number;
|
|
/**
|
|
* Maximum number of datapoints to load from each dataset.
|
|
*/
|
|
max_datapoints?: number;
|
|
};
|