Skip to content

bkrmm/Proompter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proompter

Proompter is an advanced prompt refinement tool that leverages LLMs to help you craft, evaluate, and optimize prompts for AI systems. It features a modern Streamlit UI and a FastAPI backend for programmatic access.


Features

  • Modern, stylish Streamlit UI for interactive prompt refinement
  • Automated prompt evaluation and optimization using LLMs
  • Lottie animation and custom CSS for a beautiful user experience
  • FastAPI backend for API access and integration

Setup Instructions

1. Clone the Repository

git clone https://github.com/YOUR-USERNAME/Proompter.git
cd Proompter

2. Create and Activate a Virtual Environment (optional but recommended)

python -m venv env
# On Windows:
env\Scripts\activate
# On macOS/Linux:
source env/bin/activate

3. Install Dependencies

pip install -r requirements.txt
pip install streamlit-lottie  # For Lottie animation in the UI

Usage

A. Run the Streamlit App (Modern UI)

cd prompt-suite
streamlit run app.py
  • Open the provided local URL in your browser to use the UI.

B. Run the FastAPI Backend (API Access)

cd prompt-suite
uvicorn main:app --host 0.0.0.0 --port 2137

Example API Request

POST /refine_prompt
{
  "prompt": "what is antibiotics"
}

Example

  • Enter a prompt in the Streamlit UI and click Generate ✨
  • The app will display a refined, optimized version of your prompt with a modern look.

Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.


License

MIT

About

Your AI Prompt Engineer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages