An Ollama-based application that transforms raw user prompts into well-structured, context-rich prompts optimized for AI coding assistants.
- Transform basic prompts into detailed, context-aware instructions
- Multiple prompt styles (concise, detailed, step-by-step)
- Local processing using Ollama
- FastAPI-based REST API
- CLI interface for quick access
- VS Code extension support (coming soon)
- Python 3.8+
- Ollama installed and running locally
- VS Code (for extension usage)
- Clone the repository
- Install dependencies:
python -m venv venv .\venv\Scripts\activate pip install -r requirements.txt
- Start Ollama service
- Run the application:
streamlit run app.py
python -m prompt_enhancer.cli enhance "write a sorting function" --style detailed
curl -X POST "http://localhost:8000/enhance" \
-H "Content-Type: application/json" \
-d '{"prompt": "write a sorting function", "style": "detailed"}'
- Author: Veera Babu Manyam
- Organization: SAWAS
- License: Apache License 2.0