~/talk

Using Postgres + OpenAI to power your AI Recommendation...

Talkat RailsConf 2024 · 2024-05-07..05-09· [databases, ai-assisted-development]
links:none on file
slides:none on file

Builds a working recommendation engine using Rails + ActiveRecord, stores OpenAI embeddings as vectors in Postgres and queries them with approximate nearest neighbor search, and demonstrates the end‑to‑end app and code that returns ranked results. Presents concrete optimization techniques: GIN/GiST vector indexing, batching and caching strategies, and query/throughput tradeoffs for scaling AI data. Clarifies where Postgres is sufficient and when a specialized vector store becomes necessary.

AI-written summary · about

  1. 0:00Introduction
  2. 2:41Why Postgres for AI
  3. 13:08Setting up OpenAI integration
  4. 22:18Building recommendation queries
  5. 31:11Live demo walkthrough
  6. 40:38Optimizing performance tips
  7. 44:20Q&A and closing
~/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.