Scripts2026年4月6日·1 分钟阅读

Promptfoo — LLM Eval & Red-Team Testing Framework

Open-source framework for evaluating and red-teaming LLM applications. Test prompts across models, detect jailbreaks, measure quality, and catch regressions. 5,000+ GitHub stars.

介绍

Promptfoo is an open-source LLM evaluation and red-teaming framework with 5,000+ GitHub stars. Test prompts across multiple models, detect jailbreaks and prompt injections, measure output quality with assertions, and catch regressions before they ship. Think pytest for LLMs. Ideal for teams building production LLM apps who need quality assurance and security testing.


Quick Use

npm install -g promptfoo
promptfoo init
promptfoo eval

Intro

Promptfoo is an open-source LLM evaluation and red-teaming framework with 5,000+ GitHub stars. Test prompts across multiple models, detect jailbreaks and prompt injections, measure output quality with assertions, and catch regressions before they ship. Think pytest for LLMs. Ideal for teams building production LLM apps who need quality assurance and security testing.


Source & Thanks

Created by Promptfoo. Licensed under MIT.

promptfoo — ⭐ 5,000+

🙏

来源与感谢

Created by Promptfoo. Licensed under MIT.

promptfoo — ⭐ 5,000+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产