Retrieval-Augmented GenerationRAG
Giving the AI access to your documents before it answers.
RAG combines a search step with a generation step. Instead of relying solely on training data, the model first retrieves relevant passages from an external knowledge base, then generates an answer grounded in those passages.
Pipeline: user question β embed query β vector search over your documents β top-K relevant chunks β insert into context β LLM generates answer.
This solves two core LLM limitations: knowledge cutoffs (training data ends at a date) and hallucination (the model can now cite real sources). It's the backbone of most enterprise AI search and customer-support systems.
In plain terms
Like an open-book exam instead of a closed one β the model looks things up in your documents rather than guessing from memory.
Related concepts
Embeddings
Turning words and ideas into numbers that capture meaning.
Context Window
How much text an AI can see and remember at once.
Large Language Model
AI trained on vast text to understand and generate language.
Connectors
Bridges that let AI read from and write to your apps and services.