RAG (Retrieval-Augmented Generation)
Retrieval-augmented generation (RAG) is an architecture pattern that connects a large language model to external knowledge sources—documents, databases, APIs—so its responses draw on real, current information rather than relying solely on what it memorized during training. The model retrieves relevant context at query time, then generates an answer grounded in that evidence. RAG is one way enterprises make general-purpose AI useful for their specific business, though the approach is not without its limitations and has been surpassed by simpler read/write/grep tools in many instances.
Related terms:
Prompt Injection
Prompt injection is an attack where a user or data source inserts instructions that override a language model’s intended behavior.
AI Agent
An AI agent is a system that autonomously breaks a goal into steps—calling tools, reading results, and adjusting course—without waiting for a human prompt.
Zero-Shot Prompting
Zero-shot prompting is the most basic form of AI interaction where questions are posed without any examples or guidance, relying entirely on the model’s...