~/talk

Semantic vs keyword search as context for GPT

links:none on file
slides:none on file

Compares semantic/vector search to classic keyword (BM25) search as the step that selects documentation context for GPT and finds accuracy is essentially a draw, but keyword wins for tunability and explainability. Implements keyword queries generated by ChatGPT, takes the top three results with highlights, or uses paragraph-level embeddings and cosine similarity for vector search. Builds an "ask your docs" chatbot on Zeta using OpenAI APIs; it works but hallucinates whenever the docs lack the answer; cost is about one cent per query on GPT-3.5-turbo.

AI-written summary · about

  1. 0:00Introduction to talk
  2. 1:05Demo of chatbot on docs
  3. 5:47How chatbots on docs work
  4. 8:00Context size and pricing
  5. 10:30Keyword vs vector search
  6. 12:36Accuracy comparison
  7. 14:04Tunability of keyword search
  8. 16:31Improving docs with chatbot
  9. 17:36Q&A session
~/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.