← All experiments

EXPERIMENT 01 · RETRIEVAL

Watch a question become context.

A local, deterministic RAG demo: BM25 retrieval, a context window and an extractive answer. Step through it or press play.

Interactive · no API

Try one

Demo data only. No request leaves this page.

01Chunk
02Index
03Retrieve
04Rank
05Build context
06Answer

Chunks

01 · Chunks

Context window

05 · Context window
Enter a question, then run the pipeline.

Extractive answer

06 · Extractive answer
Run the pipeline to see an answer.

The best sentence is extracted and labelled as an extractive answer.

The corpus is split into small, overlapping documents.

How this works

How this works

This demo uses a small local corpus and BM25. It shows retrieval, ranking, context assembly and an extractive answer. It does not call an LLM.

Demo data only. No request leaves this page.

Demo data only. No request leaves this page.

RAG article ↗