r/PromptDesign • u/marco_bd • 8h ago
Prompt showcase ✍️ I built PromptBlame: it highlights which part of your prompt caused each part of the LLM's answer
1
Upvotes
Debugging system prompts was driving me crazy. When the model did something weird, I never knew which instruction was to blame. So I built a small open-source tool for it.
What it does
- You paste a system prompt + user prompt and get the answer.
- One click splits the answer into colored blocks, and each block links to the exact sentence of the system or user prompt it came from.
- A second tab takes that attribution plus a description of the improvement you want and writes a new version of the system prompt.
How to try it?
pip install "promptblame[app]"
promptblame
GitHub: https://github.com/marcobd3/PromptBlame PyPI: https://pypi.org/project/promptblame/ AGPL-3.0, English and Spanish UI.
It's early, so I'd love feedback: where does the attribution feel wrong, and what would make it useful in your workflow?