Skip to content

An Ollama and AI agents -based application that transforms raw user prompts into well-structured, context-rich prompts optimized for AI coding assistants.

Notifications You must be signed in to change notification settings

veerababumanyam/ai-prompt-enhancer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI Prompt Enhancer

An Ollama-based application that transforms raw user prompts into well-structured, context-rich prompts optimized for AI coding assistants.

Features

  • 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)

Requirements

  • Python 3.8+
  • Ollama installed and running locally
  • VS Code (for extension usage)

Installation

  1. Clone the repository
  2. Install dependencies:
    python -m venv venv
    .\venv\Scripts\activate
    pip install -r requirements.txt 
  3. Start Ollama service
  4. Run the application:
    streamlit run app.py 

Usage

CLI

python -m prompt_enhancer.cli enhance "write a sorting function" --style detailed

API

curl -X POST "http://localhost:8000/enhance" \
     -H "Content-Type: application/json" \
     -d '{"prompt": "write a sorting function", "style": "detailed"}'

Author

  • Author: Veera Babu Manyam
  • Organization: SAWAS
  • License: Apache License 2.0

About

An Ollama and AI agents -based application that transforms raw user prompts into well-structured, context-rich prompts optimized for AI coding assistants.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages