AI Sprint · 10 live hours · USD 500 · Planned January 2027 · Explore

    Back to AI Signals

    Explainer · AI explained

    RAG: helping AI answer from your documents

    By Esfer ·

    Retrieval-augmented generation, or RAG, connects an AI model to an external collection of information. The system finds relevant passages and includes them in the context used to generate an answer.

    Think of it as an open-book exercise: the answer can draw on supplied material rather than only on learned patterns. Results still depend on document quality, access controls, and whether the right passages are retrieved.

    QuestionPassageDocumentsAnswerSource reference
    RAG retrieves relevant document passages and supplies them as context for an answer. It does not itself retrain the model.

    Everyday example

    An employee asks about a travel policy. The system retrieves the relevant policy section and uses it to prepare an answer with a source reference.

    Try it

    Using a document you are allowed to share, ask:

    Answer only from this document. Cite the supporting section. If it does not contain the answer, say so.

    Explore further

    IBM: RAG architecture pattern

    Want to practise this with a trainer? See AI Sprint

    Back to AI Signals

    Get AI Signals by email, once a week.

    The developments that matter, why they matter, and what they mean for you. One email a week. Unsubscribe anytime. We never share your email.