~/talk

Live coding a quick & easy semantic search with Qdrant from scratch

Talkat RustLab 2023 · 2023-11-19..11-21· [machine-learning, rust]
links:none on file
slides:none on file

Live codes a working semantic search built in Rust end to end: an rust-bert embedding pipeline using the miniLM L12 v2 model (384‑dim, cosine similarity) via the tch/libtorch crate, inserts vectors and JSON payloads into Qdrant over gRPC, and performs searches that return semantically related docs (example finds “quantization” docs from partial query). Implementation chunks upserts (batches of ~100), uses a JsonL input file, relies on HNSW indexing and supports product/quantization, and it works live.

AI-written summary · about

  1. 0:00Introduction
  2. 2:15Semantic search explained
  3. 7:04Qdrant client setup
  4. 14:28Reading data & embeddings
  5. 25:09Inserting data with batching
  6. 28:26Implementing search
  7. 30:20Q&A on Qdrant
  8. 37:10Performance & scalability
  9. 40:23Distance metrics & advanced search
  10. 43:12Use cases & limitations
  11. 45:25Closing remarks
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.