Who it is forA RAG team that already scores answers with Ragas or DeepEval and wants one policy check across both frameworks in CI.
The problemFramework score files mix metrics, sample text, and traces, and the score directions can differ between versions.
The outcomeA portable artifact that carries only the chosen score columns, checked against a policy, with missing or errored evidence failing the import.
What you need first
- Python 3 with pip and a virtual environment
- A committed evaluation artifact, or results from promptfoo, Ragas, or DeepEval
- Git, and a GitHub repository if you want the composite Action
- Docker, only if you use the Compose path
Steps
- Install the gate with
pip install evalforge-ci. - Export Ragas results with
result.to_pandas().to_json(..., orient="records")and choose the score columns you need. - Run
evalforge import ragas <ragas-records.json> --producer-version <version> --metric faithfulness --metric answer_relevancy --dataset-fingerprint <fingerprint> --metric-version <metric-version> --output build/ragas.json. (inferred, check the README) - Run
evalforge gate build/ragas.json --policy examples/ragas_policy.json. - For DeepEval, run
evalforge import deepeval <deepeval-result.json> --producer-version 4.2.2 --output build/deepeval.json, then gate it withevalforge gate build/deepeval.json --policy examples/deepeval_policy.json. (inferred, check the README)
Prompt for your agent
Using https://github.com/jsdhwfmax/EvalForge, import a Ragas export at <ragas-records-path> with `evalforge import ragas` using explicit --metric flags, then run `evalforge gate` on the output with examples/ragas_policy.json. Expected result is a gate verdict built only from the selected score columns; verify that no sample text appears in the output artifact.
Caveat. The repo's Ragas and DeepEval fixtures contain synthetic scores that show interoperability, not real model quality, and DeepEval support is pinned to versions 3.8.1 and 4.2.2.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for jsdhwfmax/EvalForge and "Enforce thresholds on Ragas or DeepEval scores"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer