promptdiff — static analysis for LLM prompts (lint, diff, score, A/B test) #24619
HadiFrt20
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you are routing prompts across providers with LiteLLM, this might help catch issues before they hit any model.
promptdiff is a CLI that treats
.promptfiles as structured documents and applies static analysis:npm install -g promptdiff promptdiff lint my-agent.prompt promptdiff compare v1.prompt v2.prompt --input "test" --model gpt4oAlso supports prompt composition (extends/includes), custom rules via
.promptdiffrc, and MLflow integration.3 deps, 217 tests, everything local.
GitHub: https://github.com/HadiFrt20/promptdiff
Beta Was this translation helpful? Give feedback.
All reactions