Programming Study日本語

Disclosure: We earn a commission from Udemy when you buy a course through links on this page.

Building a RAG application in Python

Building a RAG application in Python

Udemy · English

About this course

Language
English
Category
Provider
Udemy
Data updated

Build a working Retrieval-Augmented Generation (RAG) application in Python — from an empty directory to a streaming web chat with multi-turn memory, hybrid retrieval, image ingestion, and two interchangeable vector-store backends. No LangChain, no LlamaIndex, no magic. You write every line yourself, and by the end you understand exactly what each one does. Most RAG tutorials wrap everything in a single high-level library and stop at "it works." This course goes the other way. You'll build the pipeline from scratch — chunking, embeddings, idempotent ingestion, hybrid semantic-plus-lexical retrieval with Reciprocal Rank Fusion, a query rewriter for follow-up questions, server-sent token streaming, a vision-model branch for images — on top of plain Postgres (with pgvector) and a local Ollama server. No API bills while you learn. No black boxes. When you later reach for a framework like LangChain, you'll actually understand what it's doing under the hood. What you'll build, in one project: Runs entirely locally against Ollama, or transparently against the OpenAI API by changing one environment variableStores embeddings in Postgres + pgvector with HNSW indexing, or in Weaviate — backends swappable via a single config settingHybrid retrieval: dense vector search and Postgres full-text BM25, fused with Reciprocal Rank Fusion — fixing the cases where pure semantic search silently fails on rare terms, names, and identifiersA directory watcher that ingests new files automatically, with editor-save debouncing so it never reads a half-written fileA streaming web chat UI built on FastAPI + Server-Sent Events + vanilla JavaScript — no React, no build step — with multi-turn memory, query rewriting for follow-ups, source citations, and inline image renderingImage ingestion through a vision model with a "describe-then-embed" pipeline — multimodal in the same chunks…

Check the price and reviews on the Udemy course page.

Courses in the same category