~/talk

Creating a Board Game Chatbot with Postgres, AI, and RAG

links:none on file
slides:none on file

A working chatbot uses PostgreSQL plus pgvector to store paragraph-chunked rule text, embeddings from Gemini (about 700-dimension vectors) and Document AI to extract PDFs; a RAG pipeline generates a question embedding, runs a similarity search (top 5 by CAIN distance, with optional HNSW/IVF indexes or quantization) and builds a prompt for Gemini. It handles realtime inserts, overcomes a 2,000‑token embedding limit, and correctly answers fresh games like Castle Combo in the demo.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 3:09Understanding RAG limitations
  3. 9:11Four-step RAG implementation plan
  4. 13:44Chunking strategy for rules
  5. 16:46Generating embeddings with Postgres
  6. 17:27Similarity search with PG Vector
  7. 19:57Prompt engineering best practices
  8. 24:18Live demo of the chatbot
  9. 27:09Improving performance and accuracy
  10. 29:35Indexation methods for vectors
  11. 33:54Quantization techniques
  12. 37:25Hybrid search with full-text
  13. 39:56Key takeaways and future
  14. 41:24Q&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.