Practical AI tutorials, tool guides and workflowsENGLISH EDITION
Stay curious. Make something useful.
Auratro
Auratro/Guides

What RAG means for AI answers, with a worked example

Follow a fictional handbook question from search to answer, then use a checklist to spot missing evidence and access problems.

Five-stage diagram of a fictional handbook lookup, from preparing passages to checking the answer.
Diagram by Auratro
In this article

A workplace assistant is asked who handles a faulty door key. The answer is buried in a handbook that the assistant's language model was never trained to know. A retrieval-augmented generation system can search the handbook, put a relevant passage alongside the question and ask the model to answer from it. That process is known as RAG.

The worked example below shows what each stage contributes and where an answer can go wrong. It is a model of the process, not a product test. The documentation was checked on 27 November 2026; product features and settings can change, so confirm them on the relevant official page.

The three jobs behind a RAG answer

Retrieval means finding material relevant to a question. Augmentation means adding the material to the information given to the model. Generation is the model composing an answer. AWS describes this as bringing information into a model's context before it answers. Context is the input the model can use for that response; it is not the same as changing the model's training. Our guide to the context window explains why the amount of input matters.

A system usually prepares its documents for search beforehand. OpenAI's retrieval documentation describes files being split into chunks, embedded and indexed in its vector stores. The term chunk means a piece of a document; an index is a structure used to find material. An embedding represents content in a numerical form used for similarity search. These are implementation choices in the documented service, not requirements that every RAG system must implement identically.

A worked handbook example

Imagine an approved fictional office handbook contains this passage: ‘For a damaged door key, contact Facilities. For a lost key, contact Security.’ A colleague asks: ‘Which team handles a faulty key?’ The question uses different words from the passage. OpenAI explains that semantic search can find related material even when it shares few or no keywords with the query. It can still retrieve the wrong material, so relevance needs inspection.

Suppose the search returns the handbook passage and its file name. The application supplies that passage and the question to a model, with an instruction to answer only from the supplied material. The following is an illustrative example written by Auratro, not a recorded answer from a tool:

Question: Which team handles a faulty key?
Retrieved passage: For a damaged door key, contact Facilities. For a lost key, contact Security.
Illustrative answer: Contact Facilities for a damaged door key. Source: office handbook.

The answer is supported if ‘faulty’ means the damaged door key described in the passage. It does not establish who handles a faulty computer keyboard or a lost key. A careful answer keeps the condition ‘door key’ instead of turning a narrow rule into a rule about every key. If the question is ambiguous, asking what kind of key is safer than silently assuming.

The important distinction is between finding a passage and proving an answer. Google Cloud's grounding documentation defines full support in terms of each claim being entailed by the supplied facts. A passage can look relevant while failing to support part of a sentence. For example, adding ‘Facilities will replace it today’ would introduce a timing claim absent from the fictional handbook.

What search and citations actually show

OpenAI's retrieval guide says its search results include relevant chunks, similarity scores and the file of origin. That similarity score helps rank a match; it is not a guarantee that a passage is correct, current or sufficient for an answer. An old but relevant handbook may conflict with the current one. Inspect the source and its surrounding text, especially when a short excerpt omits an exception.

Google Cloud documents a RAG output format that can associate answer segments with retrieved chunks and source information. That makes tracing easier, but the mapping does not identify the exact part of a chunk that supports a claim. Read the passage itself. A citation is a route to evidence, not proof that the cited text says what the answer claims. See our AI hallucination checking guide for a broader verification method.

Common mistakes about RAG

Myth: the model has learned the handbook permanently. In the workflow described here, the retrieved text is supplied as context for an answer. That is different from training the model on the handbook. If the source changes, the search system needs access to the updated material; an answer based on an older indexed copy may still be out of date.

Myth: a cited answer must be true. A citation can point to the wrong passage, an obsolete document or text that only partly supports the answer. Google's grounding guidance treats partial support as insufficient for full grounding. Even a faithful summary of a source inherits errors in that source. Check the document's authority and date as well as the words quoted or summarised.

Myth: retrieval automatically respects every reader's permissions. AWS warns that a shared retrieval identity can expose documents a requesting user cannot read. It also notes that copies in indexes, caches and memory can remain accessible after source permissions change. Access control must cover retrieval and retained copies, not only the original file.

What to do with this: check an answer

Use this decision checklist when an assistant provides a document-based answer. It works as a manual review method, whether the application exposes its retrieved passages directly or provides links to the underlying documents. If it exposes neither, you cannot complete the source check from the answer alone.

  1. Identify the claim you need to use. Separate the main answer from extra details such as a date, exception or deadline.
  2. Open the cited source or retrieved passage. If there is no accessible source, treat the claim as unverified and locate the relevant document independently.
  3. Compare each claim with the actual text. Check that conditions, scope and exceptions are present, not merely that similar words appear.
  4. Check the source's authority and version. Look for a newer approved document or a conflicting passage, and resolve any conflict before relying on the answer.
  5. If you manage the system, check that the requesting person is allowed to retrieve the material and that outdated copies are handled.
  6. Ask a narrower follow-up when the question or evidence is ambiguous; if the source does not answer it, record that gap instead of filling it with a guess.

For the fictional key question, step three catches the unsupported promise of a same-day replacement. Step four catches an older handbook that assigns the task elsewhere. Step five matters if the example is replaced with a restricted staff document. These checks address different failure points, so a plausible answer alone cannot substitute for them.

Limits and what to check

RAG can only use what its retrieval system makes available for a given request. Missing passages, ambiguous questions, old copies or misleading source material can lead to an unsupported answer. AWS also warns that untrusted documents may contain instructions that affect later responses. Treat retrieved text as evidence to assess, rather than authority to change the assistant's instructions.

Implementations differ in how they prepare documents, rank results, show citations and enforce access. Features, plan availability and settings can change; consult the provider's current documentation for the product you use. For consequential decisions, follow the source's actual rules and involve the person responsible for the document when the evidence is incomplete or conflicting.

Sources & further reading

OpenAI retrieval guide

Google Cloud check grounding with RAG

Google Cloud retrieval and generation output of RAG

AWS data and retrieval security guidance

From Auratro Editorial

Written by the Auratro desk with AI assistance and checked against the sources listed above before publication. See how we work, or report an error. Editorial policy · Contact

Keep reading

NEXT STORY Guides

What MCP lets an AI assistant do and how to check access

Follow a document lookup from request to result, then use a checklist to judge a connection before allowing it to act.

Auratro EditorialOpen this article
Five steps in an illustrative MCP document lookup, from a request to checking the result and proposed action.
Diagram by Auratro

You ask an AI assistant to summarise a document stored in another service. Without a connection to that service, the assistant may only know the text you paste into the chat. With a suitable connection, it may be able to retrieve the document itself. Model Context Protocol, or MCP, is one way an application can arrange that connection.

MCP provides a shared way for an AI application to communicate with a server that exposes capabilities. It does not give every assistant access to every file or guarantee that an action is safe. The examples below explain the mechanism rather than a particular product setup. Interfaces and permissions change, so check the official documentation for your application before connecting a service.

The parts of a connection

Think of the assistant application as the place where you ask a question. It acts as a host: the application manages the conversation and connections. An MCP client is the part that communicates with an MCP server. The server presents capabilities from a data source or service in a form the application can use. A server can run locally or remotely; the word server describes its role, not necessarily a machine in a distant data centre.

According to OpenAI's documentation on MCP servers, an application can import a server's available tools and let a model request calls to them. A tool is a named operation with inputs and a result. It could search documents or create an item, depending on what its operator provides and what the account permits. For the wider distinction between answering and acting, see how an AI agent differs from a chatbot.

What can cross the connection

Support varies across applications and servers: As of 29 November 2026, Anthropic's MCP connector documentation says its Messages API connector supports tool calls, rather than the entire MCP feature set.

CapabilityWhat it providesExample
Search toolFinds information in a serviceSearch a document collection
Read toolRetrieves available informationRead a selected document
Write toolRequests a change in a serviceCreate a task

A server need not offer every kind of tool, and an application need not enable every tool a server offers. Even a tool labelled as a search may return sensitive text to the assistant application. A tool that changes data has a different consequence: it may create, update or delete something. Read the actual description and permissions instead of assuming a connection is read-only.

A worked example: summarise a project note

Imagine an assistant connected to a document service through an MCP server. You ask: ‘Summarise the launch checklist in the project note and identify anything still undecided.’ This is an illustrative example written by Auratro, not a recorded interaction. The server in this example offers a document search tool and a separate tool to create a task. Other servers may offer different operations.

The application first makes the server's tool descriptions available to the model. The model can request a search using a title or other input; the application sends the call to the server and receives a result. If the returned text contains the relevant note, the assistant can use it to draft a summary. OpenAI's documentation describes this sequence of listing tools, making calls and receiving results in its API implementation.

Suppose the note says a release date is undecided. A useful answer should preserve that uncertainty and identify the note it used. If the assistant proposes creating a task, that is a separate action from reading the note. Ask to see the task title and destination before approving it. A tool result can be incomplete or refer to an outdated note, so compare the answer with the original. The same principle appears in our five-step check for AI hallucinations.

A checklist before you connect

Use this decision checklist for a connection you are considering. It is a method for evaluating access, not a claim that every product displays the same controls. You may need to consult the connection provider or your organisation's administrator for the details.

  1. Identify the provider and destination. Find out who operates the MCP server and which service or account it will reach. Prefer a server you can identify and trust.
  2. Inspect the requested access. Look for the data it can read and whether it can create, change or delete items. Limit access to what the task needs when the product permits it.
  3. Inspect the available operations. Separate information retrieval from actions that change something or send data elsewhere. A tool name alone is not a complete security review.
  4. Decide how approval works. Find out whether the application asks before a call or a consequential action, and review the actual request before accepting it.
  5. Check a small result. Start with a low-stakes document, ask the assistant to identify its source, and compare the answer against that document.
  6. Revisit access afterwards. If the connection is no longer needed, use the service's available controls to remove it and review any remaining permissions.

OpenAI recommends connecting only to trusted servers and reviewing data shared with them. Its documentation also describes approval controls for MCP tool calls in its API. Anthropic documents tool allowlists and denylists for its connector. These are examples of controls in particular implementations, not promises about every assistant. For sensitive material, apply a chatbot privacy checklist before sharing the document or connecting its storage.

Common mistakes and myths

‘MCP means the assistant can access everything.’ No. A connection supplies particular capabilities and access depends on the server, account and application. A server might expose a document search but no task creation. Even if a task tool exists, its permitted scope depends on the connected account and configuration. Ask what it can actually reach before relying on it.

‘A connected source is an instruction I should obey.’ A document is evidence for the task, not an authority to change the task. OpenAI's agent safety guidance describes prompt injection: untrusted content can try to redirect an assistant's behaviour. For example, a retrieved note might contain instructions to share other files. Treat that as suspicious content in the note, not permission from you to share anything.

‘A successful call proves the answer is correct.’ A tool can return the wrong match, an old version or information that the assistant summarises badly. Confirm the document's identity and check important details in the source. A connection makes retrieval possible; it does not independently verify the truth of the material returned.

What to do with this

Choose one recurring question that needs information from a specific service, such as finding a project note. Write down the exact information needed and the action, if any, you want the assistant to take. A read-only lookup is a useful first scenario because its desired result is easy to compare with the source. Keep any write or message as a distinct decision.

Then use the checklist above to assess the available connection. If you cannot identify the operator, access scope or approval behaviour, leave the connection off until you can. When a result arrives, look for the document name and compare the answer with the original. That gives you a repeatable way to assess both the connection and the assistant's handling of the information.

Limits and what to check

MCP is a protocol, not an assurance that a particular service has a compatible server, that a host supports every capability, or that a model will select the right tool. Anthropic's documented connector, for example, supports tool calls and requires a remotely accessible HTTP server; another host can have different requirements. Server features, permissions and interfaces can change between versions and accounts.

Before using a connection for real work, verify the current provider, available tools, data access and approval controls in the documentation for your own application and server. An approval screen is useful only if you understand the requested action and destination. If the returned source is incomplete or uncertain, resolve that before using its summary to make a consequential decision.

Sources & further readingMCP servers | OpenAI APIMCP connector | Claude Platform DocsSafety in building agents | OpenAI API
NEXT STORY Tutorials

How to proofread and tighten writing with AI while keeping your voice

Use separate editing passes, a reusable prompt and a side-by-side check to keep control of your words and meaning.

Auratro EditorialOpen this article
Five steps for editing writing with AI, from setting boundaries to comparing changes
Diagram by Auratro

A polished rewrite can be less useful than the messy original if it changes a promise or removes the phrase that sounds like you. To proofread with AI while keeping your voice, ask for a narrow edit, inspect the proposed changes and make the final choices yourself. Work on structure, errors and concision in separate passes.

This method adapts guidance from Google and Anthropic into a reusable editing routine. It works with a text-based AI assistant; the examples below are instructions you can adapt, not a record of a product test. Interfaces and data policies vary, so check your chosen tool's current guidance before sharing a draft.

Decide what must stay yours

Voice is the pattern of choices that makes a piece sound like its writer: word choice, rhythm, level of formality and the way it addresses readers. Choose two or three traits you actually want to keep, such as conversational sentences and a dry aside. Mark a phrase that carries your meaning or sounds distinctly like you. These are editing instructions, not a guarantee the assistant will follow them.

Tell the assistant who will read the piece and what you want the reader to do. Google's technical writing guidance recommends identifying an audience, document type and goal in a prompt. Anthropic's Claude Opus 4.8 guidance suggests specifying a desired tone and revisiting style instructions when model behaviour changes. A short sample of your own writing can demonstrate the tone you want, provided you have permission to share it.

Keep a separate copy of the original. That gives you a reference when an edit sounds smoother but quietly changes a qualification. If the draft contains private material, remove it or use an approved tool; the chatbot privacy checklist helps you decide what to leave out.

How to edit in five passes

The workflow below is an editorial method built from the sources, not a product-specific menu tutorial. Open a text assistant of your choice and use its normal message field. Google recommends dealing with organisation before grammar and style; its guide also warns that generated responses can contain errors. Apply the following steps to a short section first.

  1. Save an untouched copy of the draft. Identify its audience, purpose and any wording, claims or qualifications that must stay.
  2. Ask for an organisation review. Request a list of confusing transitions or misplaced paragraphs, without a rewrite. Decide which suggestions fit your purpose.
  3. Request a proofreading pass for spelling, punctuation and grammar only. Ask for each proposed correction with its reason, so you can reject a change that is deliberate.
  4. Ask for a separate tightening pass. Request specific cuts to repetition and wordy phrases, while preserving the meaning, tone and marked phrases.
  5. Compare each suggestion with the saved original. Check numbers, names, negations and qualifications, then accept, revise or reject the change yourself.

For a long document, repeat the passes on manageable sections and then read the whole piece for continuity. A paragraph can make sense alone while a transition fails in context. The five-part prompt template offers another way to spell out the task, context and desired response.

A prompt you can adapt

Use this example after replacing the bracketed parts. It asks for suggestions rather than automatic acceptance, and separates the text to edit from the instructions. Anthropic suggests specifying a desired tone for Claude Opus 4.8; Google suggests constraining an assistant to information supplied by the writer. Neither instruction guarantees compliance, so review the result.

Help me edit a [document type] for [audience]. The reader should [goal].

My voice is [two concrete traits]. Keep these phrases: [phrases]. Preserve all claims and qualifications. Do not add facts.

First, list up to three structural concerns without rewriting. Then list spelling, grammar and punctuation suggestions separately. Finally, suggest specific cuts to repetition. For each suggestion, show the original, the proposed change and a brief reason. Flag anything whose meaning is unclear instead of guessing.

Draft: [paste a short, shareable section] ```

The prompt groups three requests in one message, but you can send them separately if the response mixes them together. For a strictly mechanical proofread, remove the structure and tightening requests. If a suggested edit sounds unlike you, describe the problem precisely: for example, ask to keep contractions or retain the original sentence order.

Worked example: shorter without a stronger claim

The following passage and edits are illustrative examples written by Auratro, not recorded answers from an AI tool. Imagine a community organiser writing to volunteers: ‘We are hoping to possibly open the garden on Saturday, if the weather allows us to do so.’ The message has a clear condition and expresses a hope, not a confirmed opening.

A useful proposed cut is: ‘We hope to open the garden on Saturday, weather permitting.’ It removes extra words while keeping the hope and the weather condition. A risky edit would be: ‘The garden opens on Saturday.’ That version drops both uncertainties. It is shorter, but it makes a different promise. Reject it unless you have independently confirmed the opening.

Now consider voice. If the writer normally says ‘if the weather holds’, that phrase may feel more natural than ‘weather permitting’. A possible final sentence is: ‘We hope to open the garden on Saturday, if the weather holds.’ The author chooses it; the assistant's phrasing is only a proposal. Google’s short-sentence guidance recommends removing unnecessary words and focusing sentences on one idea, but brevity is not a reason to discard meaning.

Common mistakes to catch

A request to ‘make this professional’ leaves the desired tone open to interpretation. Name the intended audience and give a concrete description instead, such as ‘friendly and direct, with contractions’. Also avoid asking for a complete rewrite when you only need corrections: request a list of changes so you can inspect the original wording beside each suggestion.

Watch for changes to small words. ‘May’ can become ‘will’; ‘some’ can become ‘all’; a negative can disappear. Check any quotation against its source and every number against the record from which it came. Google warns that model responses can introduce mistakes and advises checking both factual errors and passages that do not feel right. A fluent sentence is not evidence that its claim is true.

Do not treat every long sentence as an error. A deliberate rhythm, qualification or example may earn its space. Google's guidance is aimed at technical writing and suggests shortening sentences and removing unnecessary words; a personal essay or fictional dialogue may need different rhythms. Read the edited passage aloud and restore wording that better serves the reader.

Limits and what to check

A prompt cannot ensure the assistant preserves voice, keeps facts unchanged or identifies every error. Its suggestions are a starting point for judgement. Compare the final version with the saved original, verify factual claims against reliable sources and read the whole piece for missing context. Ask a human reader for a second opinion when the stakes or audience warrant it.

Privacy controls, retention policies, available features and interfaces differ across services and plans and can change. Check the official documentation for the service and account you use before submitting material. If you cannot share a document, apply the same checklist yourself to an anonymised passage or keep the editing offline.

Sources & further readingUsing large language models in technical writingPrompting Claude Opus 4.8Short sentences