Skip to content
AI Skills Central

Type to search Agent Skills, workflows, tutorials, tools and the glossary.

Golden dataset

Topic: Evals and observabilityAlso called golden set

Definition

A curated set of inputs with expected outputs or grading notes, used as the fixed reference that your evals are scored against.

In more detail

Start small, with 20 to 50 cases that reflect real usage and known hard cases, and grow it from production failures. Review it occasionally: expected answers go stale too.

Each case should hold the input, the expected answer or the criteria a good answer meets, and for RAG the passages that should be retrieved. Write the expectations with someone who knows the domain, keep the set in version control, and do not let it leak into prompts or training data. Synthetic questions can fill gaps, but check that they read like real users before you rely on them.

  • Eval

    A repeatable test that measures how well an AI system performs on a defined set of cases, so you can compare versions instead of guessing.

  • Regression eval

    An eval run automatically on every prompt, model or code change, so that a drop in quality is caught before it reaches users.

  • Benchmark

    A public, standard test set used to compare models on a capability such as coding, maths or knowledge, under the same conditions.

  • Context precision and recall

    RAG retrieval metrics: precision is the share of retrieved chunks that are relevant, recall the share of needed facts found.

  • LLM-as-a-judge

    Using a model to grade another model's outputs against written criteria, ideally checked against a sample of human-labelled cases.

  • Synthetic data

    Training or test examples generated by a model or program instead of collected from real users, used when real data is scarce.

  • Evaluate RAG answers with a golden dataset

    Set up RAG evaluation with a golden dataset and promptfoo: score retrieval, correctness and grounding for every question, and fail CI when answer quality drops.

    WorkflowIntermediate2 h6 steps

  • How to test LLM applications as a QA engineer

    Contract tests on a scripted model, a golden set with pass-rate floors, a calibrated LLM judge and a regression gate.

    TutorialIntermediate1 h

  • Synthetic data

    Training or test examples generated by a model or program instead of collected from real users, used when real data is scarce.

    Glossary

  • LLM evaluation

    Measuring AI system quality with datasets, code checks and model-graded tests.

    SkillIntermediate