~/talk

A Deep Dive into Python-Powered Precision and Scalability

Talkat PyData Global 2024 · 2024-12-03..12-05· [databases]
links:none on file
slides:none on file

Builds a production site search that combines Gemini embeddings for 768‑dim vectors with an inverted index stored in Aerospike, using Scrapy, LlamaIndex, SpaCy, FastAPI and Uvicorn. Dataset is small (~6,000 chunks) yet achieves subsecond vector lookups via Aerospike’s distributed HNSW and caches query embeddings. Tried semantic reranking (Gemini = fast but poor quality; Go‑here model = accurate but slow) and ends up using reciprocal rank fusion for fast, reliable fusion of keyword and vector ranks.

AI-written summary · about

  1. 0:00Welcome
  2. 1:29Better search for Aeros Spike
  3. 3:38Architecture and data pipeline
  4. 6:28Preparing data
  5. 8:58Generating embeddings with Gemini
  6. 10:47Storing vectors in Aerospike
  7. 12:30Vector search on queries
  8. 14:15Building keyword index
  9. 17:47Ranking with BM25
  10. 19:33Combining search results
  11. 21:39Optimizing with reciprocal rank fusion
  12. 22:43Serving API with FastAPI
  13. 23:46Frontend integration
  14. 24:54Future plans and open source
  15. 25:58Q&A
~/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.