{
 "schema_version": 1,
 "generated": "2026-10-31",
 "id": "vibrantlabsai-ragas--generate-a-test-dataset-for-your-llm-app-with-ragas",
 "repo": "vibrantlabsai/ragas",
 "repo_url": "https://github.com/vibrantlabsai/ragas",
 "repo_slug": "vibrantlabsai-ragas",
 "title": "Build test data and feedback loops for an LLM app",
 "page_title": "How to build test data and feedback loops for an LLM app with Ragas",
 "summary": "Use Ragas test data generation to cover more scenarios, then rescore after each change.",
 "who": "A team that has no labeled test set for its LLM feature.",
 "problem": "Without a test set, every prompt change is a guess.",
 "outcome": "A repeatable evaluation run you can compare before and after changes.",
 "steps": [
  "Install Ragas with `pip install ragas`",
  "Follow the Test Data Generation section of the Ragas docs to create a dataset from your own documents",
  "Score your app against it with the pre-built metrics",
  "Rerun after each prompt or retrieval change and compare scores"
 ],
 "agent_prompt": "Using vibrantlabsai/ragas, generate a test dataset from <my documents folder> with its test data generation feature, score my app with the pre-built metrics, and save a baseline report I can compare against next week.",
 "agents": [
  "claude-code",
  "codex",
  "cursor",
  "gemini-cli"
 ],
 "difficulty": "Intermediate",
 "time": "1 hour",
 "basis": "readme",
 "caveat": "The README describes test data generation but its code lives in the linked docs.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "python",
 "requirements": [
  "Python with pip",
  "An LLM provider key for LLM-based metrics, for example OPENAI_API_KEY in the README example",
  "uv or another way to run the quickstart CLI is optional"
 ],
 "risk": "none",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "data",
   "notice": "Ragas collects anonymized usage data by default; set RAGAS_DO_NOT_TRACK to true to opt out."
  }
 ],
 "best": false,
 "score": 0.8,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/vibrantlabsai-ragas/generate-a-test-dataset-for-your-llm-app-with-ragas/",
 "md": "https://dedupedai.com/use-cases/vibrantlabsai-ragas/generate-a-test-dataset-for-your-llm-app-with-ragas/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/vibrantlabsai-ragas--generate-a-test-dataset-for-your-llm-app-with-ragas.json",
 "api_version": "v1"
}
