Embeddings: What they are and why they matter
summary
Explains that content is turned into 1,536‑dim vectors stored in SQLite and compared with cosine similarity to power semantic search for a 470‑post blog (precomputed ~4,900 similarity rows) and for code and local files. Shows using OpenAI embeddings API then running models locally via sentence‑transformers and an llm CLI, embedding 16,796 readmes in ~30 minutes, and a retrieval pipeline over ~18,000 paragraphs for retrieval‑augmented generation that returns accurate, sourced answers.
AI-written summary · about
chapters (11)
- 0:00Introduction to embeddings
- 1:47Blog recommendation system
- 4:57Data engineering with SQLite
- 8:33Baking data for deployment
- 11:00History and theory
- 14:44Local model experimentation
- 20:06Code base exploration
- 22:29Multimodal search with CLIP
- 27:06Clustering and visualization
- 29:54Retrieval augmented generation
- 32:43Q&A and future outlook
