Embeddings and RAG Pipeline
Building RAG with multilingual embeddings (EmbeddingGemma 2), FAISS and ChromaDB, chunking strategies, hosted RAG from OpenAI and Gemini, and choosing between RAG and long context.
What RAG is
RAG (Retrieval-Augmented Generation) = finding relevant chunks in a knowledge base + passing them to the LLM as context. It reduces hallucinations on domain data without expensive fine-tuning, though it doesn't remove them entirely: the model can misread the retrieved text or make up an answer when the right chunk wasn't found. So ask the model to cite sources from the metadata and check answers with a faithfulness metric (see the "LLMOps" lesson).
The rest of this lesson opens after a free sign-up
Sign up with email or Google: the first two lessons of every course stay open for good, and the whole catalog is open for 7 days. No card needed.


