Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Runs RAGAS quality evaluations on filesystem datasets with corpus/ and train.json against the NVIDIA RAG server.
23% 86%+64 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 5 of 22 without it.
3 of 3 safety checks passed
76 agent runs
1 forkA fork is a copy of this skill that someone made so they could edit it for their own use. The original doesn't change.
Load this for full command examples, artifact descriptions, quality interpretation, retrieval/generation flags, and the error-signal table.
For latency, throughput, and load testing, use the rag-perf skill — not this document.
NVIDIA_API_KEY).env and key files are in .gitignore.export ... lines — avoid pasting real keys on the command line; rotate the key if it was exposed.After the key is available in the environment, run commands from the repo root.
Under --output_dir (default results), each dataset gets a subdirectory named after the dataset directory basename. Files share the same <label> (the dataset folder name):
| File | Purpose |
|---|---|
rag_<label>_evaluation_data.json | Per query: question, answer, generated_answer, generated_contexts, retrieved_docs. Written before RAGAS. Use for forensics and failure patterns. |
rag_<label>_evaluation_summary.json | Headline means: nv_accuracy_mean, nv_context_relevance_mean, nv_response_groundedness_mean. Fast pass/fail. |
rag_<label>_evaluation_results.json | RAGAS vectors: per-sample score lists under nv_accuracy, nv_context_relevance, nv_response_groundedness. |
rag_<label>_evaluation_metrics.json | Structured roll-up: ingestion_metrics_list, evaluation_metrics (model dump of RagEvaluationMetrics). |
Analysis tips: If evaluation_data has fewer rows than train.json, some queries failed (exceptions print during the run). After drops, use id / query_id to align rows rather than positional index. For "worst questions," pair index i in evaluation_results score lists with the ith object in evaluation_data.
nv_accuracy — answer accuracy (LLM judge vs ground-truth answer).nv_context_relevance and nv_response_groundedness — scored when retrieved contexts exist.generated_contexts are present across the run, the code scores answer accuracy only—do not treat empty context metrics as a silent success.Set NVIDIA_API_KEY (see credential hygiene above). Optionally set RAG_EVAL_JUDGE_MODEL for the RAGAS judge LLM id. Then from repo root:
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.