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.
Open the labEight 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.
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.
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.
Open the labUnderstand how text becomes a vector: lexical hashing, LSA, similarity metrics, 2-D projection and the honest limits of each kind.
Open the labCompare BM25, vector and hybrid search; try the synonym gap, the similarity threshold and Arabic queries.
Open the labRun real Flat, IVF, HNSW and SQ8 indexes and measure recall, time and memory; see the status of the available vector stores.
Open the labTrace the whole pipeline: retrieval, the evidence test, the fenced prompt, the cited answer and citation checking.
Open the labRRF and weighted fusion, reranking, query expansion, MMR and metadata filtering.
Open the labTalk to your documents: guest mode inside the browser with no upload, or a private project on your account, with prompt-injection defence.
Open the labMeasure retrieval with Hit, Precision, Recall, MRR, NDCG and MAP; compare configurations, k sensitivity and the faithfulness proxy.
Open the labBuild a knowledge graph from the passages, retrieve locally through entities and detect communities, in a transparent educational simulation.
Open the labSearch figures through their captions and extracted text and merge text and figures in one result, as an educational simulation.
Open the labA cost calculator with your own assumptions, a rule-based decision guide and a knowledge-update simulation.
Open the labA 15-step wizard: project, upload, chunking, embedding, indexing, retrieval, prompt, citations, testing and settings export.
OpenFourteen levels from fundamentals to deployment, with quizzes and progress tracking.
OpenTwelve applied projects with steps, evaluation and risks, including medical and legal ones with explicit disclaimers.
OpenWell-known datasets with source, licence, size and verification date.
OpenA searchable table of each algorithm, its family, complexity and when to use it.
OpenTerms, formulas and FAQ.
OpenReferences checked on a recorded date.
OpenSections
No section has this name. Press “Search” to search all site content.
Favourites
My results & certificates
My academy progressMy quiz resultsKids’ progressAcademy certificatesQuiz certificatesStart any lesson or quiz and it will show up here so you can get back to it quickly.
Settings
I am RAG Mentor. Ask me about chunking, embeddings, vector databases, the RAG pipeline and evaluation, or ask me to explain your experiment results.
Database mode: answers from the lab content on this site's server, with no external service; your conversation is not stored.
The assistant can make mistakes, so check the attached sources.
Welcome! I am Dr. Alaa Taima, and this is my smart assistant on “Deep Learning in Arabic”. Ask it about any term or topic in artificial intelligence, and it will answer from the site's content with links to the sources.
Enter to send · Shift + Enter for a new line · The assistant can make mistakes, so check the sources.