RAG workflow PoC - Python, ChromaDB, Ollama
In the previous post, I learned how LLM works from LLM itself (Copilot, to be more specific). In this post, I will learn about RAG, of course, from Copilot. Methodology: Ask questions starting from “What is RAG?” to Copilot, and read answers Write down my understanding, asking Copilot if I’m correct Revise my writing until my understanding is solid Let’s start today’s learning. What is RAG? RAG (Retrieval-Augmented Generation) is a workflow for retrieving relevant external information and injecting it into user questions for LLM to consume. RAG supplements these LLM’s weak points: ...