Bistro Innovation LabsSearch & AI consulting · Berlin
WorkshopOxford LLMs 2024 summer school, Nuffield College, University of Oxford

Navigating RAG for Social Science

Applied seminar at the Oxford LLMs 2024 summer school for social-science researchers: build a RAG on Qdrant end to end, experiment, evaluate with RAGAS, and learn where in the pipeline improvements should be made. Includes hybrid search and DSPy notebooks.

In this seminar Atita argues that social-science researchers can build retrieval-augmented generation over their own material, but that they should evaluate it to find out where the pipeline needs improvement rather than trust the first answer. The session covers RAG end to end: implementation on Qdrant, experimentation and evaluation.

What the seminar covers

Oxford LLMs 2024 was the second edition of a five-day intensive workshop on AI for social science at Nuffield College, University of Oxford, held in late September 2024 and supported by the Oxford Van Houten Fund; thirty participants were selected from just under two hundred applications. Alongside lectures on LLM foundations, fine-tuning and agents, guest practitioners from Qdrant, Ori Cloud, Arize and Google led practical seminars. Atita, listed as Solution Architect at Qdrant and noted in her bio as currently writing a book on vector databases, led the seminar on retrieval-augmented generation.

The seminar covers end-to-end implementation, experimentation and evaluation, and how to identify where in the RAG pipeline improvements can be made. The companion notebooks in the qdrant-rag-eval repository walk through vector types and similarity scores, a naive RAG with LangChain evaluated with RAGAS, a self-query RAG over a wine dataset, RAG with DSPy using chain-of-thought and ReAct, and advanced hybrid search combining dense vectors with BM25, SPLADE and ColBERT through reciprocal rank fusion, each with evaluation. The exact day is not published; the seminar took place in September 2024.

Who it is for

Researchers and analysts who want to apply RAG to documents, interviews or archives and need to know whether the answers can be trusted. The slides are on Google Slides and all workshop materials are open on GitHub.

Frequently asked questions

What is in the companion notebooks?
Vector types and similarity scores; naive RAG with LangChain evaluated with RAGAS; self-query RAG over a wine dataset; RAG with DSPy using chain-of-thought and ReAct; and advanced hybrid search (dense plus BM25, dense plus SPLADE, dense plus BM25 plus ColBERT with RRF) with evaluation.
Do I need a technical background?
The summer school selected social-science researchers rather than engineers, and the seminar is applied; the notebooks are in Python and are published openly on GitHub.

RAG systems

Working on rag systems?

We build and fix retrieval-augmented generation systems by treating retrieval as the product: chunking and indexing strategy, hybrid retrieval, reranking, grounded citations and abstention, all measured by an evaluation harness before anything reaches users. Tell us what you are building and we will say whether this is the kind of engagement we take on.