Steps to Production: Evaluating RAG Pipelines
A Haystack (deepset) livestream with Ragas and Qdrant. Atita's session builds a documentation RAG on Qdrant, evaluates it with RAGAS and tackles the cold-start problem of creating an evaluation dataset.
With Shahul Es
In this session Atita argues that a RAG pipeline is only ready for production once it has been evaluated, and that experimentation without measurement is guesswork. She builds a documentation RAG on Qdrant, scores it with the open-source RAGAS framework and shows how to get an evaluation dataset when none exists.
What the session covers
The livestream, hosted by the Haystack team at deepset and presented over Zoom, paired two talks. Shahul Es of Ragas opened with "Integrating User Feedback into Your Evaluation Stack with ragas", covering how AI can automate the tedious parts of evaluating LLM applications and how production feedback feeds back into evaluation. Atita followed with "RAG Evaluation in Action: Building, Tackling Cold Start Challenges, and Optimizing Your RAG with Qdrant and RAGAS".
Her talk is a workshop-style code walkthrough. It builds a documentation RAG with Qdrant as the knowledge store, evaluates the pipeline with RAGAS, and uses experimentation to make well-informed tuning decisions. It then addresses the persistent cold-start problem of building evaluation datasets and discusses proven strategies for getting past it. The companion notebook is in the qdrant-rag-eval repository on GitHub.
This is the online version of the talk Atita gave in person at the Haystack meetup in Berlin in April 2024. The exact livestream date is not shown on the event page; it was recorded in spring 2024.
Who it is for
Teams moving a RAG prototype towards production who need a repeatable evaluation loop and a starting evaluation dataset. The recording is embedded above.
Frequently asked questions
- What is the cold-start problem in RAG evaluation?
- It is the situation where you want to evaluate a RAG pipeline but have no ground-truth questions and answers yet. The session discusses strategies for building that first evaluation dataset.
- Who else spoke on the livestream?
- Shahul Es of Ragas gave the first talk, on integrating user feedback into your evaluation stack with ragas, before Atita's session on RAG evaluation in action with Qdrant and RAGAS.
Related talks and articles
- Talk · Haystack (deepset) meetup All Things LLM, Mindspace Krausenstrasse, Berlin · 25 Apr 2024RAG Evaluation in Action: Building, Tackling Cold Start Challenges, and Optimizing Your RAG with Qdrant and RAGAS
- Workshop · Oxford LLMs 2024 summer school, Nuffield College, University of Oxford · 1 Sept 2024Navigating RAG for Social Science
- External write-up · 18 Nov 2024Evaluating Retrieval Augmented Generation using RAGAS