Vector Search and RAG with pgvector on Lakebase
Builds a semantic retrieval layer on pgvector inside Lakebase Postgres, taught against a live "Ask the docs" app that Classroom Setup deploys. Following the lecture-demo pattern, learners decide when pgvector beats Databricks AI Search, design a document/chunk schema, choose and build HNSW and IVFFlat indexes, generate embeddings in batch with ai_query(), and write a hybrid search combining vector similarity, a metadata filter, and full-text ranking (ts_rank_cd cover-density) in one query. An optional closing section surveys Lakebase Search (Beta) and its lakebase_text (BM25) and lakebase_vector (ANN) extensions.
The content was developed for participants with these skills/knowledge/abilities:
• Comfort with Python and SQL, plus basic embeddings/RAG concepts
• Familiarity with Postgres concepts (tables, indexes, extensions, foreign keys)
• Ability to connect to Lakebase and enable the pgvector extension
Self-Paced
Custom-fit learning paths for data, analytics, and AI roles and career paths through on-demand videos
Registration options
Databricks has a delivery method for wherever you are on your learning journey
Self-Paced
Custom-fit learning paths for data, analytics, and AI roles and career paths through on-demand videos
Register nowInstructor-Led
Public and private courses taught by expert instructors across half-day to two-day courses
Register nowBlended Learning
Self-paced and weekly instructor-led sessions for every style of learner to optimize course completion and knowledge retention. Go to Subscriptions Catalog tab to purchase
Purchase nowSkills@Scale
Comprehensive training offering for large scale customers that includes learning elements for every style of learning. Inquire with your account executive for details

