This project is a command-line tool that automates prompt generation, evaluation, and iterative refinement for businesses implementing chatbots and AI tools. It leverages Google Gemini LLMs for prompt evaluation and refinement.
- Generate prompts for a given use case or task
- Evaluate prompt quality automatically using Gemini LLM
- Iteratively refine prompts based on evaluation feedback
- Command-line interface (CLI)
- Clone this repository.
- Install dependencies:
pip install -r requirements.txt - Set your Gemini API key as an environment variable:
$env:GEMINI_API_KEY = "your_api_key_here"
Run the CLI tool:
python main.pyYou will be prompted to enter a task/use case. The agent will generate, evaluate, and refine prompts automatically.
main.py- Entry point and CLIprompt_generator.py- Prompt generation logicprompt_evaluator.py- Prompt evaluation logicprompt_refiner.py- Iterative refinement logicgemini_api.py- Handles Gemini LLM API communication
MIT License