Capabilities & limits concept illustration

Capabilities & limits

Retrieval-augmented generation

RAG

A technique that fetches relevant documents and feeds them into the prompt so the model answers from real sources instead of memory. The standard cure for hallucination and stale knowledge.

In practice

A support bot retrieves the right help article, then answers using it, with a citation.

Related terms

See what your tokens really cost

Track usage and spend across every model and platform, free.

Image: Steve A Johnson on Pexels. Definition free to reuse under CC BY 4.0.