Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smart Prompt Optimizer

Analyzes any rough prompt and rewrites it using the most effective prompting technique — zero-shot, few-shot, chain-of-thought, or structured output.

What it does

  • Analyzes prompt intent, complexity, and missing elements
  • Recommends the right prompting technique
  • Rewrites the prompt with a clear explanation
  • Two-stage LLM pipeline — analysis then rewriting

Why it matters

Bad prompts cost companies money in wasted tokens and poor outputs. This tool generates an optimized first draft automatically — saving time and reducing prompt iteration cycles.

Run it

pip install groq gradio python-dotenv

Add your Groq API key to a .env file:

Then:

python app.py

Tech Stack

  • Groq API (llama-3.3-70b-versatile)
  • Gradio
  • Python-dotenv

Demo

Demo

About

prompt-engineering llm groq gradio python llama

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages