AugmentationConfig
Configuration options for augmentation
The AugmentationConfig
class defines the parameters used for augmenting
datasets. This configuration is used to specify the type of augmentation to
perform, the number of augmentations to generate, and other augmentation
options.
Parameters
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
base_model | string | Yes | The OpenAI model to use for generating synthetic examples. Must be one of:
| |
num_samples_to_generate | integer | No | 1000 | The number of synthetic examples to generate. Must be greater than or equal to 1. |
num_seed_samples | integer/string | No | all | The number of seed samples to use. Can be an integer >= 1 or all to use all available samples. |
augmentation_strategy | string | No | mixture_of_agents | The strategy to use for augmentation. Must be either single_pass or mixture_of_agents . |
task_context | string | No | "" | User-provided task context for generating candidates. Helps guide the augmentation process. |