Overview
The Prompt Optimizer module provides algorithms for automatically improving LLM prompts based on evaluation metrics. It uses Optuna for hyperparameter optimization.Available algorithms
| Algorithm | Description |
|---|---|
| GEPA | Genetic Evolution Prompt Algorithm — evolves prompts through selection and mutation |
| MIPROv2 | Multi-Instance Prompt Optimization v2 — generates and evaluates prompt candidates |
Usage
Requires the
prompt-optimizer extra: pip install "gaussia[prompt-optimizer]".