A framework for prompt optimization and a zoo of prompt optimization algorithms
-
Updated
Sep 3, 2025 - Python
A framework for prompt optimization and a zoo of prompt optimization algorithms
GeneticPromptLab uses genetic algorithms for automated prompt engineering (for LLMs), enhancing quality and diversity through iterative selection, crossover, and mutation, while efficiently exploring minimal yet diverse samples from the training set.
We introduce CAPO, a novel prompt optimization algorithm that integrates racing and multi-objective optimization for cost-efficiency and leverages few-shot examples and task descriptions, outperforming SOTA discrete prompt optimization methods.
A package for improving and evaluating LLM prompts
Add a description, image, and links to the automated-prompt-engineering topic page so that developers can more easily learn about it.
To associate your repository with the automated-prompt-engineering topic, visit your repo's landing page and select "manage topics."