[{"data":1,"prerenderedAt":89},["ShallowReactive",2],{"glossary-en-rag":3},{"id":4,"title":5,"body":6,"description":76,"extension":77,"meta":78,"navigation":84,"path":85,"seo":86,"stem":87,"__hash__":88},"en_glossary/en/glossary/rag.md","What is RAG (Retrieval-Augmented Generation)?",{"type":7,"value":8,"toc":67},"minimark",[9,14,22,27,30,52,56],[10,11,13],"h2",{"id":12},"rag-retrieval-augmented-generation","RAG (Retrieval-Augmented Generation)",[15,16,17,21],"p",{},[18,19,20],"strong",{},"RAG"," is a method that allows a model to access external data sources (like company documents, recent news, or a distinct database) during generation to produce answers.",[23,24,26],"h3",{"id":25},"why-is-it-important","Why is it important?",[15,28,29],{},"Standard LLMs are limited to their training data, which has a cutoff date. RAG bridges this gap by:",[31,32,33,40,46],"ol",{},[34,35,36,39],"li",{},[18,37,38],{},"Retrieving"," relevant information from a live knowledge base.",[34,41,42,45],{},[18,43,44],{},"Augmenting"," the user's prompt with this retrieved context.",[34,47,48,51],{},[18,49,50],{},"Generating"," an answer based on both the question and the retrieved data.",[23,53,55],{"id":54},"industrial-use-case","Industrial Use Case",[15,57,58,59,66],{},"Imagine an AI assistant for a ",[18,60,61],{},[62,63,65],"a",{"href":64},"/en/solutions/cloud-iot-data-collection","Cloud & IoT Platform",". Using RAG, the assistant could look up the specific, real-time status of a connected device or consult the latest user manual to help an operator troubleshoot a specific error code, without the AI model itself needing to be retrained.",{"title":68,"searchDepth":69,"depth":69,"links":70},"",2,[71],{"id":12,"depth":69,"text":13,"children":72},[73,75],{"id":25,"depth":74,"text":26},3,{"id":54,"depth":74,"text":55},"How RAG allows AI models to answer questions using private, up-to-date external data sources.","md",{"tags":79},[20,80,81,82,83],"AI","Knowledge Base","Data Retrieval","LLM",true,"/en/glossary/rag",{"title":5,"description":76},"en/glossary/rag","MdUWLavdcYuWJLhh_MSOP_ICMcsHgjMIGG8C9MZDrOo",1778229654975]