Commit Graph
22 Commits
Author SHA1 Message Date
Dylan Couzon 80bae7403e add screenshots for ANN Web UI tutorial 2026-04-22 16:34:04 -04:00
Dylan CouzonandClaude Opus 4.7 e5d9101227 retrieval-quality: tone pass on intro, section rename, drop RAG link
- Rewrite the intro so the ANN algorithm reads as one of several
  levers shaping retrieval quality (alongside the embedding model,
  retrieval strategy, filtering, reranking) rather than the only
  factor beyond embeddings. Addresses mrscoopers on the reductive
  "embeddings + ANN" framing.
- Rename the "Retrieval Quality" section to "ANN Recall" and
  rewrite its opening paragraph to match; ANN approximation quality
  isn't the same as retrieval quality broadly.
- Drop the RAG-evaluation-guide link from the three places it
  appeared in this file. This tutorial isn't RAG-specific.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 15:26:29 -04:00
Dylan CouzonandClaude Opus 4.7 fd095af85a retrieval-quality: layer-1 anchor and title-case headers
- Add a layer-1 anchor sentence under the Time/Level table
  pointing at the evaluation ladder in Fundamentals, mirroring
  the golden-set tutorial's anchor. Addresses abdonpijpelink's
  ask for a levels-table link and a "this tutorial focuses on
  level 1" framing.
- Title-case the six H2 headers for consistency across the
  tutorials-search-engineering set.

Deferred: streaming the 60K training items into upload_points
instead of materializing as a list (abdonpijpelink line 69) —
pending manager confirmation before proceeding.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 15:06:47 -04:00
Dylan Couzon 81883cbecc golden set: framing 2026-04-22 14:31:10 -04:00
Dylan CouzonandClaude Opus 4.7 a47c57ebdc golden set: use ranx for metrics, reframe Anthropic example
- Switch the metrics section from three hand-rolled functions
  (recall@k, MRR, NDCG@k) and a bespoke evaluate() loop to a
  single ranx-based example. Handles binary and graded labels
  in one call (mrscoopers, line 59).
- Reframe the Anthropic synthetic-generation snippet as a
  minimal prompt shape, point at Ragas for readers who want a
  maintained testset generator, and fix a bug (Anthropic() was
  called without importing the class; switched to
  anthropic.Anthropic()). Addresses abdonpijpelink line 53 and
  mrscoopers line 31.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 13:52:23 -04:00
Dylan CouzonandClaude Opus 4.7 acc85e65ca golden set: anchor intro at layer 2, link layer 1 to Web UI
- Open the tutorial by anchoring it at layer 2 of the evaluation
  ladder and linking to the levels table in retrieval-quality-
  fundamentals (abdonpijpelink, line 14).
- Point layer-1 readers (ANN recall vs exact kNN) at the Search
  Quality tab in the Qdrant Web UI instead of the retrieval-quality
  tutorial (mrscoopers, line 13).
- Trim the duplicate layer-1 pointer at the end of "Using the
  Golden Set" (mrscoopers, line 113).
- Open cross-tutorial links in a new tab to match the repo
  convention.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 10:56:34 -04:00
Dylan Couzon 6eba7e2ceb docs(golden-set): anchor intro at layer 2 2026-04-22 10:30:25 -04:00
Dylan Couzon 1a9821cc95 golden set: reduce verbosity 2026-04-21 12:06:48 -04:00
Dylan Couzon bb8cac5a6e update completion times 2026-04-21 12:00:10 -04:00
Dylan Couzon 8cdc9acd14 golden dataset - improve tutorial quality 2026-04-20 12:42:53 -04:00
Dylan Couzon 02710a1f9b Add using golden set instructions 2026-04-20 12:41:21 -04:00
Dylan Couzon 5503b005b6 improve wording 2026-04-20 12:32:33 -04:00
Dylan Couzon d6f06d6b60 clean up tables 2026-04-20 12:22:45 -04:00
Dylan Couzon e9e0e4bddd Syntax 2026-04-20 12:21:05 -04:00
Dylan Couzon 8a019f55eb remove instruction file 2026-04-20 11:17:34 -04:00
Dylan Couzon 814bdc1a48 clean up messaging 2026-04-20 11:06:41 -04:00
Dylan CouzonandClaude Sonnet 4.6 52a38d255c Link new retrieval quality tutorials from navigation indexes
Updates both search engineering index files (the headless partial and
the tutorials-lp overview) to list Retrieval Quality Fundamentals and
Building a Golden Query Set alongside the existing Retrieval Quality
Evaluation row. The Evaluation row is also retitled from "Measure
quality and tune HNSW parameters" to "Measure ANN recall and tune
HNSW parameters" to match the refactored page.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 10:47:02 -04:00
Dylan CouzonandClaude Sonnet 4.6 7d3d44b727 Refactor Retrieval Quality Evaluation to recall terminology
Renames precision to recall throughout the ANN-evaluation tutorial so
the page aligns with the ANN-benchmarks convention and with the new
Retrieval Quality Fundamentals page. The numerical formula is
unchanged: when ANN and exact search both return exactly k items,
recall@k and precision@k are numerically identical.

Other changes:
- Remove the Quality metrics subsection, now covered by the
  Fundamentals page, and replace it with a short link across.
- Bump weight from 4 to 6 so the three retrieval-quality pages
  order as Fundamentals, Golden Query Set, Evaluation.
- Fix a pre-existing prose/code mismatch: the prose said "first
  50000 items" while the code uses range(60000).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 10:46:19 -04:00
Dylan CouzonandClaude Sonnet 4.6 5db9d106aa Add Retrieval Quality Fundamentals and Golden Query Set tutorials
Introduces two new conceptual tutorials under tutorials-search-engineering:

- Retrieval Quality Fundamentals covers the three-level evaluation
  framework (ANN recall, retrieval relevance, business impact), the
  evaluation ladder that connects them in practice, and a which-metric-
  when decision table keyed by scenario and available ground truth.
- Building a Golden Query Set covers query generation at scale (logs,
  LLM synthesis, human annotation) and the failure modes commonly
  lumped together as data leakage: synthetic-query unrealism,
  embedding-model contamination, near-duplicate documents, temporal
  drift, and reviewer reproducibility.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-20 10:42:05 -04:00
Dylan Couzon 12b9380ee2 Update changes.md 2026-04-20 10:31:54 -04:00
Dylan Couzon 0ae51086d6 clean up changes 2026-04-20 10:20:11 -04:00
Dylan Couzon e588e2bf08 add proposed changes 2026-04-16 16:33:07 -04:00