~/talk

Unlocking the Power of Hybrid Search: A Deep Dive into Python-Powered Precision

Talkat PyData NYC 2024 · 2024-11-06..11-08· [databases]
links:none on file
slides:none on file

A concrete build story: Python glue wires Scrapy + LlamaIndex for chunking, Gemini (after trying Nomic AI) for 768‑dim embeddings, and Aerospike as a NoSQL store with an HNSW vector index. The index covers about 6,000 chunks from ~2,000 pages, cost about $2 to embed ~18,000 vectors, and queries average 80 ms average latency. Keyword side uses SpaCy + inverted index + BM25; results merge with reciprocal rank fusion. Shows code-level choices, tradeoffs, and a working site.

AI-written summary · about

  1. 0:00Hybrid search project intro
  2. 2:54Why build a better search engine
  3. 6:02Scraping and preparing data
  4. 9:58Vector embeddings for semantic search
  5. 16:29Storing vectors in Aerospike
  6. 17:56Querying vectors for semantic search
  7. 19:22Building keyword index
  8. 21:56Ranking with BM25 and fusion
  9. 25:12Python backend with FastAPI
  10. 26:38Frontend integration demo
  11. 28:22Future Aerospike search plans
  12. 29:57Q&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.