RAG & Vector Lab

Eight interactive labs: text chunking, embeddings, semantic search, vector databases, the RAG pipeline, advanced retrieval, chat with your documents and evaluation, plus an assistant builder for your own documents and experiments that run in the browser.

44interactive experiments

RAG & Vector Lab

Learn how to build a RAG system from scratch through interactive experiments: chunking, embeddings, semantic search, vector databases, hybrid retrieval, source citation and evaluation, then build an assistant over your own documents.

  • 11Labs
  • 44Experiments
  • 55Algorithms & concepts
  • 23Verified references

Every experiment is labelled by its nature: "Real local execution" is genuinely computed in your browser or on your site's server, "Educational simulation" explains an idea without claiming to measure a real system, and "External integration" needs a service the site administrator configures. The local vectors here are lexical hashed vectors (not semantic embeddings) and are labelled as such.

Core labs

Text Chunking Lab

Compare eight chunking strategies on a real text: size, overlap, sentence and heading boundaries, and their effect on retrieval, with special handling of Arabic text.

Experiments
5
Lessons
3
Open the lab

Embeddings Lab

Understand how text becomes a vector: lexical hashing, LSA, similarity metrics, 2-D projection and the honest limits of each kind.

Experiments
5
Lessons
3
Open the lab

Semantic Search Lab

Compare BM25, vector and hybrid search; try the synonym gap, the similarity threshold and Arabic queries.

Experiments
4
Lessons
3
Open the lab

Vector Databases Lab

Run real Flat, IVF, HNSW and SQ8 indexes and measure recall, time and memory; see the status of the available vector stores.

Experiments
5
Lessons
3
Open the lab

RAG Pipeline Lab

Trace the whole pipeline: retrieval, the evidence test, the fenced prompt, the cited answer and citation checking.

Experiments
4
Lessons
3
Open the lab

Chat with Documents Lab

Talk to your documents: guest mode inside the browser with no upload, or a private project on your account, with prompt-injection defence.

Experiments
3
Lessons
2
Open the lab

RAG Evaluation Lab

Measure retrieval with Hit, Precision, Recall, MRR, NDCG and MAP; compare configurations, k sensitivity and the faithfulness proxy.

Experiments
4
Lessons
2
Open the lab

Advanced labs

GraphRAG Lab

Build a knowledge graph from the passages, retrieve locally through entities and detect communities, in a transparent educational simulation.

Experiments
3
Lessons
1
Open the lab

Multimodal RAG Lab

Search figures through their captions and extracted text and merge text and figures in one result, as an educational simulation.

Experiments
3
Lessons
1
Open the lab

Tools and resources

Project library

Twelve applied projects with steps, evaluation and risks, including medical and legal ones with explicit disclaimers.

Open