Fake Minds Think Alike
summary
A concise walkthrough of building a similarity search in Ruby that encodes text with Sentence Transformers embeddings (the example model outputs 384-dimensional vectors), stores them in Postgres with pgvector and queries nearest neighbors (Neighbor or a vector SQL query). The demo indexes a personal to‑be‑read list, finds The House in the Cerulean Sea as a close match, and then uses retrieval‑augmented generation to produce a personalized blurb from the retrieved description.
AI-written summary · about
chapters (13)
- 0:00Introduction and welcome
- 1:27About the speaker
- 3:13What is AI?
- 5:47Controversies around AI
- 8:14AI hype cycle
- 10:42Generative AI and vectors
- 12:48How vectors work
- 14:56Building similarity search
- 17:04Choosing data and models
- 18:29Demo similarity search
- 19:54Retrieval augmented generation
- 21:17Implementation ideas
- 23:01Closing and Q&A
