Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Embeddings and Vector Databases for Fast RAG - 100% Local with Ollama, Supabase, PostgreSQL and pgvector

Venelin Valkov via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to build a production-grade RAG system storage layer using vector embeddings and semantic search with completely local, open-source tools. Discover how to move beyond simple keyword matching by implementing vector embeddings that understand semantic meaning - enabling your system to connect queries about "money" with documents containing "revenue." Set up a local PostgreSQL database with pgvector extension through Supabase, generate embeddings using Ollama with the Qwen3 Embedding model, and store vector data in SQL for efficient retrieval. Compare the limitations of traditional full-text search with the power of vector semantic search, and understand why persistence is crucial for production RAG systems. Master the complete workflow from database setup and Docker initialization to embedding generation and vector storage, building the foundation for advanced retrieval-augmented generation applications.

Syllabus

- How to store your chunks?
- What are Vector Embeddings?
- Local Postgres & pgvector setup
- Initializing Supabase & Docker
- Generating Embeddings with Ollama and Qwen3 Embedding
- Storing Data: Inserting Vectors into SQL
- Full-Text Search Limitations
- Vector Semantic Search Success
- Why you need persistence and what's next

Taught by

Venelin Valkov

Reviews

Start your review of Embeddings and Vector Databases for Fast RAG - 100% Local with Ollama, Supabase, PostgreSQL and pgvector

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.