Skip to content

Research overview

This section documents the research phase of knowledge — the exploration that produced the design decisions now used in production. The work was carried out as six Jupyter notebooks (nb01nb06); each page walks through one notebook: the question it asked, what was tried, and what it concluded.

How the experiments were evaluated

A shared, deterministic method runs across the notebooks so results are comparable:

  • Gold query sets — curated question→expected-source pairs, including a 200-question bilingual (FR / EN) set, used to score retrieval objectively.
  • Deterministic retrieval metricsrecall@k, source coverage and related measures, shared across nb02nb06 (not eyeballed).
  • Token tracking — bundle/context token counts, to compare strategies on cost as well as accuracy.

The six notebooks

#TopicOutcomeStatus
nb01Corpus discovery & filteringProfile-driven file selection for the corpusdone
nb02Markdown chunkingSelected: AST-merge + breadcrumb, chunk_size=500done
nb03JS & Vue SFC chunkingStructure-aware chunkers + BM25/RRF hybrid retrievaldone
nb04JSON chunkingCategory-aware key splittingdone
nb05Embedding model evaluationRecommends Qwen3-Embedding-0.6Bdone
nb06Qdrant index & evaluationReal Qdrant index, verified against nb05; Qdrant / Chroma / LanceDB comparisondone

How the findings feed production

Notebooks & code

The notebooks and their helper code live in the repository under docs/experiments/ (notebooks/nb0X_*.ipynb plus the matching *_lab/ helpers). They are not part of the rendered site — these pages are the readable write-up of what they contain.