Back to Glossary
Artificial Intelligence

RAG (Retrieval-Augmented Generation)

RAG combines a retrieval system with an LLM to ground responses in external knowledge.

Definition

Retrieval-Augmented Generation (RAG) is an AI technique that combines a retrieval system (search) with a generative LLM to produce more accurate, factual, and up-to-date responses. In RAG: (1) User asks a question, (2) System retrieves relevant documents from a knowledge base (vector database), (3) Retrieved documents are added to the LLM's context, (4) LLM generates a response grounded in the retrieved context. RAG is widely used for enterprise AI applications — chatbots, document Q&A, knowledge management. Harch Corp provides GPU infrastructure for RAG pipelines.

Related Keywords

ragretrieval augmented generationrag llmvector database rag

Explore Harch Corp's GPU Cloud

Leverage rag (retrieval-augmented generation) in our carbon-aware GPU cloud infrastructure in Morocco.