Back to GitHub projects

pytest-jev: asserzioni semantiche per output LLM con Jev

pytest-jev è un plugin pytest che aggiunge asserzioni semantiche per output LLM usando il modello Jev di TypeSafe, restituendo probabilità calibrate. Supporta controlli holds/lacks/expect/choice/score, caching, soglie configurabili e può essere eseguito tramite OpenRouter.

该仓库是 pytest 插件,通过 TypeSafe Jev / System One 对 LLM 输出进行语义断言,README 包含可运行 demo、pytest 集成、benchmark 和使用文档,属于真实集成。

· 2 starsOpen on GitHub