Build: semantic search
You'll build search for a real-looking docs site, end to end. Split pages into sections, embed them, store them in Postgres with filters, combine keyword and vector results, rerank the top, and prove it works with a retrieval eval. It's the retrieval half of every RAG system in Unit 5.
In this lesson you'll learn to
- Split docs pages into sections with useful metadata, and embed them in batches.
- Store sections in Postgres with vector and full-text indexes, and filter by version and area.
- Combine keyword and vector search with reciprocal rank fusion and rerank the top candidates.
- Evaluate each stage with a labelled query set and use the results to decide what to keep.
Create a free account to open this lesson
It's free. You'll get every free lesson, quizzes that save your progress, daily flashcards and streaks.