---
title: Does RAG Architecture Stop AI Assistants From Making Things Up?
description: "How RAG architecture works, why a RAG assistant can still give wrong answers, and how founders can test, scope and budget a first pilot before launch."
url: https://miracuves.com/blog/rag-architecture-explained-for-founders
date_modified: 2026-11-16
author: Miracuves Editorial Team
language: en_US
---

*Written by the Miracuves Editorial Team. Reviewed by [Sakshi Kumari](https://miracuves.com/author/sakshi/), SEO Specialist, Miracuves.*

A customer asks your AI assistant whether replacing a battery themselves will void their warranty. The assistant says no. It sounds confident, gives a plausible explanation, and ends with a friendly reminder to keep the receipt. The problem: your current policy allows self-replacement on one device model, prohibits it on another, and has a separate rule for units sold through distributors. The assistant never checked any of those rules.

If someone has told you the fix is “add RAG”, this guide is for you. By the end you should be able to name the parts of a RAG system, tell which part caused a wrong answer, test a vendor’s demo properly and budget a first pilot. We follow that one warranty question the whole way through.

Retrieval-augmented generation, or **RAG**, makes the application search your approved material and hand the model selected evidence before it replies. It can reduce hallucinations, but it cannot make a stale document current or guarantee that a citation supports the answer. So the useful question for a founder is not “Does this chatbot use RAG?” It is “Can we show why this answer is justified, and what happens when it isn’t?”

    

        
### Key Takeaways

        
- RAG retrieves evidence from your approved documents before the model answers. It reduces made-up answers but does not guarantee correct ones.
- Most wrong answers trace back to the evidence: the wrong version, a dropped exception, or a passage the user should never have seen.
- Test search and answers separately, and treat any permission leak as a release blocker.
- A good assistant asks, declines or hands off when the evidence runs out, instead of guessing.
- In an illustrative first pilot, model usage costs under $20 a month on gpt-5-mini (about $60 on its replacement) while engineering wages come to about $31,400.

    

## What RAG Changes About How an Assistant Answers

RAG architecture is the design of a system that **retrieves evidence at question time and gives it to a language model before the model writes the answer**. The evidence can come from manuals, a help center, policy documents or product specifications, prepared and indexed in advance so useful passages can be found quickly. The pattern was named in the 2020 paper [Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks](https://arxiv.org/abs/2005.11401) (Lewis et al., NeurIPS 2020), which paired a neural retriever searching a dense document index with a text generator.

Think of the difference between asking a support agent to answer from memory and letting them open the current policy first. The policy improves their odds. They can still open the wrong edition, miss an exception, or apply one customer’s rule to another. RAG has the same split between **finding information** and **using it correctly**.

A hallucination is a claim the model presents as fact without a sound basis. When you test a business assistant you need sharper labels than that. An answer that faithfully repeats an expired policy is grounded in what it retrieved but wrong for the customer. An answer that happens to be right without evidence still fails a traceability requirement. An answer with a real citation that does not support the claim is neither grounded nor auditable. Each label points your team at a different part of the system to fix.

## The Parts Inside a RAG System

Most RAG systems share the same parts, however vendors package them. Knowing them tells you where a wrong answer came from and what a proposal actually includes.

  
| Component | What it does | Common options | What to decide first |
| --- | --- | --- | --- |
| Source connectors and parsing | Pulls approved documents in and extracts text, headings and tables | Help-center exports, PDF and HTML parsers, document APIs | Which sources are authoritative, and who owns each one |
| Chunking | Splits content into searchable units | Section, clause or table-row chunks with a link to the parent document | A unit size that keeps exceptions next to the rule they modify |
| Embedding model | Turns text into vectors so passages with similar meaning match | Hosted embedding APIs or open-source embedding models | Language coverage, cost, and whether text may leave your environment |
| Vector store and keyword index | Stores vectors, text and metadata for fast lookup | A Postgres extension such as pgvector, a search engine such as OpenSearch, or a managed vector database | Whether a database you already run can handle the pilot volume |
| Hybrid retrieval and filters | Combines exact-term and semantic matches, limited by metadata | Hybrid queries in the search engine, or two result lists merged in code | Which filters are mandatory: product, region, date, permissions |
| Reranker (optional) | Reorders the top candidates by usefulness for this question | Cross-encoder models or hosted rerank APIs | Add it only when the right passage is found but ranked too low |
| Context assembly | Builds the model input from instructions, the question and the selected passages | Application code that tags each passage with a citation ID | How many passages fit and how citations map back to sources |
| Generator | Writes the answer from the evidence, or asks, declines or escalates | Hosted or self-hosted language models | The answer contract, fallback rules and latency budget |
| Evaluation and monitoring | Scores retrieval and answers and logs failures | Open-source evaluation libraries plus a human-reviewed question set | Release thresholds for each risk category |

You do not need a new product for every row. [pgvector](https://github.com/pgvector/pgvector) adds exact and approximate vector search to Postgres, and its documentation shows hybrid search alongside Postgres full-text search, so a pilot can often start in a database the team already runs. [OpenSearch’s hybrid query](https://docs.opensearch.org/latest/vector-search/ai-search/hybrid-search/index/) runs a keyword clause and a semantic clause, normalizes the scores and merges them into one ranking. Rerankers are usually cross-encoder models, which the [Sentence Transformers documentation](https://sbert.net/docs/cross_encoder/usage/usage.html) describes as more accurate but slower, and often used to re-rank the top results of a faster first search. Add each part after you see what the simpler setup misses.

## Two Pipelines: Preparing Evidence, Then Answering

![RAG architecture diagram showing an indexing pipeline that prepares documents and a query pipeline that retrieves evidence before the model answers.](https://miracuves.com/wp-content/uploads/2026/11/rag-two-pipeline-architecture-workflow-1024x576.webp)Image Source: AI-generated visual by Miracuves.

The first pipeline runs when documents are added or changed, and prepares them for search. The second runs every time someone asks a question: it searches, assembles evidence and decides what to return. Keep them separate in your head and failures become easier to place. You cannot fix an indexing problem by editing the answer prompt, and you cannot fix a misread exception by indexing more files. The illustration above shows a rerank step; treat it as optional until your tests show you need it.

![RAG architecture diagram of two pipelines: ingest, chunk and index documents, then retrieve, assemble context and answer or hand off](https://miracuves.com/wp-content/uploads/2026/11/miracuves-131578-1-rag-two-pipelines.webp)The preparation pipeline runs when documents change; the question pipeline runs every time someone asks.

### Before the question: prepare evidence the assistant can use

**Ingestion** pulls content from approved sources and extracts what matters. A help-center article usually comes through cleanly. A warranty PDF is harder: a parser can extract every word in a table while losing which column applies to which device, and then the policy is corrupted before anyone asks anything. Review sample extracts from your messiest documents, not the easy ones.

**Chunking** splits content into searchable units. A section, a clause with its conditions, or a table row with its headers usually beats an arbitrary slice of text. Picture a passage that says “battery replacements are covered” with “only when performed by an authorized technician” just outside the chunk. The split has changed the meaning of the evidence. Start by preserving headings and conditions, keeping a pointer to the parent document, and pulling in neighboring text when a passage does not stand on its own.

The system then builds a **search index**. A keyword index finds exact strings such as model numbers and error codes. An embedding represents text as numbers so search can match meaning across different wording: “does swapping the battery cancel my coverage?” can find “warranty exclusions for component replacement”. Neither method knows which policy is authoritative, so every passage should carry metadata such as product family, region, effective date, document status and access restrictions.

Name an owner for each source before users arrive. Someone has to decide whether a service bulletin supersedes a manual, what happens to a withdrawn policy, and how fast changes must show up in answers. If your team cannot settle those questions for a human support agent, an AI assistant will not settle them for you.

### At question time: retrieve, check, then answer

A query arrives with whatever context the application can legitimately use: the user’s role, a product already selected, a region confirmed on the account. That verified context is different from anything the user types into the chat. Typing “I’m a service manager” must not open an internal service manual.

The retrieval layer searches only eligible material. **Hybrid retrieval** combines exact-word and semantic matching, and an optional **reranker** reorders the first set of matches by how useful they look for this question. Both can help, and both add complexity and latency. Find out what simple search misses first: an exact model number calls for a different fix than a customer using unfamiliar words for a common problem.

The application then assembles the model’s **context**: the question, the instructions and the selected passages, each tagged with a citation ID. Telling the model to answer only from that evidence defines the task, but a prompt is not a security boundary or a guarantee. The application can add its own checks, such as confirming that every cited ID was actually retrieved, and requiring human approval before any reply that affects a customer’s entitlement.

Last, the application decides what to show: a short answer with a link to the clause, a clarifying question, or a handoff. The goal is the most useful response the evidence supports, not a reply every time.

## One Warranty Question, Four Right Answers

Take a fictional hardware startup. Its **current Model B guide** permits self-replacement only with an approved kit and the published instructions. Its **Model A manual** requires an authorized technician. An archived draft says all battery replacements go through support. The company wants an assistant that helps customers find policy answers, but it does not want the assistant approving warranty claims.

The customer asks: “Can I change the battery myself and still keep my warranty?”

  
| What the system knows or finds | Appropriate response | Why |
| --- | --- | --- |
| The account confirms Model B, and the assistant finds the current applicable guide. | Explain the approved-kit and installation conditions, and cite the specific section. | The product and evidence are sufficient for a general policy answer. |
| The customer’s device model is unknown, and the rules differ. | Ask which model they own, or explain that the answer depends on the model. | The missing detail materially changes the answer. |
| The index returns only the expired draft. | Do not present it as current. Offer the approved support route and flag the missing current source internally. | A searchable document is not necessarily valid evidence. |
| The customer asks whether an already-denied claim must be overturned. | Explain the general rule if supported, then route the decision to the warranty team. | Reading policy and adjudicating a claim are different jobs. |

Notice what a useful answer does **not** do. It does not quote the Model B policy as if it covers every product, infer that an unlisted third-party kit is fine, or treat an appeal as a text-generation problem. Each outcome depends on evidence, applicability and authority, not on how fluent the model sounds. In a vendor demo, ask the same question under these four conditions. If the assistant gives essentially the same answer every time, you have learned more than a dozen easy questions would tell you.

## Four Ways a RAG Assistant Still Gets It Wrong

These are four failures to look for first in a customer-facing assistant. For how the same problems play out across a large internal document set, see [why startups fail with RAG on enterprise knowledge bases](https://miracuves.com/blog/why-startups-fail-rag-enterprise-knowledge-base/).

### The source was relevant, but not applicable

A passage can cover exactly the right topic for the wrong region, plan or version. Search finds similarity; business rules need applicability. If retrieval keeps landing on the right topic but the wrong product, a product filter or a “which model do you have?” question will fix more than a bigger language model.

Do not hide uncertainty behind a retrieval score either. A similarity score is not a probability that the answer is true, and a near-perfect match can be an archived copy of the wrong policy. If a score feeds your fallback rule, test it on your own questions and combine it with effective dates and product identifiers.

### The answer dropped the condition that changes the decision

A reply can be broadly faithful and still mislead. The source says replacement is allowed only with an approved kit; the assistant says “Yes, you can replace it yourself.” That omission is not cosmetic: it removes the one condition the customer needs. When reviewing answers, mark every material claim and condition, and do not grade a reply correct just because its first sentence matches what the reviewer expected.

### The citation looked right but did not prove the claim

A document can be real, accessible and on topic without supporting what the model said. A link to the warranty homepage does not back a claim about the Model B kit. Show the specific clause where you can. Your software can confirm that a cited passage exists and came from the permitted results; it cannot confirm that the passage supports the sentence next to it. Check that separately, with human review and with automated checks you have compared against human judgments.

### The model kept talking after the evidence ran out

“I can’t answer that” frustrates users. A useful fallback names what is missing and offers a next step: “The warranty rule differs by model. Which model is printed on the device label?” When sources conflict, it says so: “I found conflicting guidance, so I can’t confirm which rule applies. Here’s how to reach the warranty team.” An assistant that answers everything will guess, and one that refuses every hard question saves nobody time. Measure both, and aim for a first release that handles ordinary, well-supported questions and stops in predictable ways at the edges.

## When RAG Is the Wrong Tool

Start with the kind of truth the user needs. If the answer lives in documents that change and people ask about it in varied words, RAG fits. If the answer is an exact value in a system of record, a direct lookup is better. “What does our return policy allow?” is a document question. “Has this customer’s refund cleared?” is a transaction question, and searching an old ticket about a refund is not the same as reading the payment status.

Many products need both. An assistant can retrieve the current return policy, query the order system for the purchase date and use plain code to decide whether the request falls inside the window, then let the model explain the result. It should not invent a missing date or quietly stand in for the rules engine when the order system times out.

Other cases need less. A small, stable reference can go straight into the prompt. Ordinary search may be enough if users want to read documents rather than get a synthesized answer. Fine-tuning helps with consistent style, format or task behavior, but it is not a dependable substitute for looking up a changing policy and showing the source. And when the material itself is contradictory or incomplete, the first job is fixing the documentation.

## How to Test a RAG Assistant Before Your Customers Do

A friendly demo shows the assistant can answer a question. An evaluation shows **which questions it handles, which it misses, and whether those misses are acceptable**. Collect real questions from support or operations, strip personal data, and record for each the expected outcome, the authoritative source and any critical condition. Some expected outcomes should be “ask for more information”, “do not disclose” or “route to a human”. Mix in paraphrases, exact identifiers, recent policy changes, multi-passage answers, unanswerable requests and out-of-permission requests. Hold back a separate set for release checks so the team does not tune the system to the questions used to judge it.

### Score search and answers separately

When an answer is wrong, look at what was retrieved. If the right passage never reached the model, the problem is coverage, extraction, filters or ranking. If it was there and the model ignored it, look at the instructions and how the context was assembled. A quick diagnostic: rerun the missed question with the correct passage supplied by hand. If the answer improves, fix retrieval first. Open-source libraries such as [Ragas](https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/) give these checks standard names, which helps when you compare vendors or track progress:

  
| Check | What to ask of each test answer | Standard metric or method |
| --- | --- | --- |
| Retrieval hit rate | Did the authoritative passage appear among the retrieved candidates? | Context recall: how many of the relevant pieces of information were retrieved ([definition](https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/context_recall/)) |
| Ranking quality | Was the useful passage near the top, or buried under weaker matches? | Context precision: whether relevant chunks are ranked above irrelevant ones ([definition](https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/context_precision/)) |
| Citation support | Does the cited passage back the specific statement next to it? | Faithfulness: the share of claims in the response that the retrieved context supports, from 0 to 1 ([definition](https://docs.ragas.io/en/stable/concepts/metrics/available_metrics/faithfulness/)) |
| Answer correctness | Did the reply reach the right conclusion for this case and keep the critical conditions? | Response relevancy covers part of it; human review of a sample does the rest |
| Fallback behavior | Did it clarify, decline or escalate when evidence was thin, and still answer when evidence was enough? | Count both errors from your labeled question set |
| Permission isolation | Could a user receive or infer anything they are not allowed to see? | Pass or fail; any leak blocks release |
| Latency and resolution | How long did users wait, and did the answer resolve the task without rework? | Stage timings and the workflow baseline from the pilot |

Most of these scores come from a language model acting as a judge, so treat them as screening. Have reviewers label a sample of the same answers and confirm the automated score agrees with them on your documents. Faithfulness has a blind spot worth remembering: an answer that faithfully repeats an expired policy scores well. Set thresholds by risk, not one blended number. A formatting slip in an internal draft is not the same as wrong warranty instructions to a customer, and an attractive average can hide the errors you least want to ship.

### Test document changes, not just model changes

Before launch, make a test policy change. Publish a new version, withdraw the old one, and ask the same questions before and after. Check that the index catches up, that cached answers stop serving the old guidance, and that citations point to the new version. Then remove a reviewer’s access and confirm they can no longer get the restricted material, including through cached responses. If an answer goes wrong after a source changes, someone must be able to trace whether publication, indexing, cache invalidation or generation failed.

## Permissions, Conflicting Sources and Human Handoffs

An assistant should retrieve only evidence the requesting user is allowed to see. Hiding a document link after the model has read the restricted passage is too late, because the answer can disclose the content without the link. Apply permission checks to what reaches the model and to every place information is reused, including cached results and review logs, and test with representative accounts, not only an administrator.

Treat retrieved text as **data, not instructions**. A document can contain text telling the model to ignore its rules, reveal private information or call a tool. [OWASP’s 2025 Top 10 for LLM applications](https://genai.owasp.org/llmrisk/llm01-prompt-injection/) lists prompt injection, including this indirect form, as its first risk (LLM01) and notes that RAG does not fully mitigate it. Control which sources enter the collection, limit what the model can do, and keep access rules and consequential actions in application code. An assistant that explains warranties does not need to approve replacements, edit accounts or send messages.

Write down precedence rules for conflicts. If a product bulletin and a general guide disagree, which wins? Does the answer depend on the purchase date or the date of the request? Where no rule settles it, show the uncertainty and route the question to the source owner instead of letting the model pick the version that sounds most plausible.

Design the handoff to save time on both sides. The specialist should get the question, the context they are authorized to see, the reason the assistant stopped and links to the useful evidence, not the whole chat history or sensitive data they do not need. The same pattern drives a support bot; [this guide to a hallucination-resistant support chatbot](https://miracuves.com/blog/hallucination-proof-ai-customer-support-chatbot/) covers the escalation side in more depth.

## Scoping, Costing and Timing Your First Pilot

![RAG pilot planning visual showing one audience, one source set, one clear use case, workflow comparison, retrieval improvement, and incident handling.](https://miracuves.com/wp-content/uploads/2026/11/rag-pilot-scoping-framework-founders-1024x578.webp)Image Source: AI-generated visual by Miracuves.

Choose **one audience, one source collection and one decision the assistant can help with without making it for anyone**. For the warranty example, that means an internal support assistant that retrieves and explains approved warranty clauses, not a public chatbot handling returns, appeals, account changes and troubleshooting. Support staff can then flag missed exceptions before they reach customers. With the workflow chosen, four steps define the pilot:

- **Write the answer contract.** For example: “The assistant explains the active warranty for a known device model and cites the policy. It asks when the model is unknown, and it never approves or denies claims.” Name the source owner, how quickly policy changes must appear, and the escalation path, so engineering, support and product share one definition of success.
- **Compare against the current workflow.** Use a realistic baseline: searching the help center, asking a senior colleague, or filing a ticket. Track time to a verified answer, repeat contacts and manual corrections. More answers that take longer to check is not an improvement.
- **Fix the retrieval problem you actually see.** Add metadata filters if results come from the wrong product or region, semantic search if users describe issues differently from the docs, and reranking if the right passages are found but buried.
- **Plan incidents before widening access.** Decide who can pause answers on a topic, pull a source, investigate a questionable citation and tell support. Keep only the diagnostic data you need, with access and retention limits. Then expand one related workflow at a time, each with its own evidence, access rules and tests.

### What a first pilot costs

In a pilot like this, the model bill is small and the people time is large. The illustrative estimate below assumes one internal support workflow, 2,000 documents, 10,000 questions a month and list prices from the [OpenAI API pricing page](https://developers.openai.com/api/docs/pricing) as of November 2026. Engineering time uses the May 2025 median wage for software developers from the [US Bureau of Labor Statistics](https://www.bls.gov/ooh/computer-and-information-technology/software-developers.htm), $135,980 a year. That is a floor: benefits, overhead and outside rates are higher. Swap in your own volumes, model and rates.

  
| Cost line | Assumption | Illustrative estimate |
| --- | --- | --- |
| Index the documents once | 2,000 documents averaging 3,000 tokens, or 6 million tokens, embedded with text-embedding-3-small at $0.02 per million tokens | About $0.12 |
| Embed incoming questions | 10,000 questions a month at about 50 tokens each | About $0.01 a month |
| Model input | 10,000 questions with about 4,000 input tokens each (instructions, question, six passages), at $0.25 per million for gpt-5-mini | About $10 a month |
| Model output | 10,000 answers of about 400 tokens, at $2.00 per million | About $8 a month |
| Engineering time | One engineer full time and one half time for 8 weeks (480 hours) at the BLS median developer wage of about $65 an hour | About $31,400 in wages alone |

On these assumptions, model and embedding usage comes to under $20 a month on gpt-5-mini. OpenAI shuts gpt-5-mini down on December 11, 2026 and names gpt-6.1-terra ($1.00 input and $5.00 output per million tokens) as its replacement; on that model the same pilot comes to about $60 a month. Even a model ten times more expensive stays small next to the build effort. Two things change the picture. On OpenAI reasoning models such as gpt-5-mini, reasoning tokens are billed as output, which can multiply the output line, so check how your chosen model counts them. And cost grows with context: doubling the passages sent with each question nearly doubles the input line. Hosting can add almost nothing if the vectors live in a database you already pay for.

![Bar chart of an illustrative RAG pilot cost: under $20 a month for embeddings and model usage versus about $31,400 of engineering time](https://miracuves.com/wp-content/uploads/2026/11/miracuves-131578-2-rag-pilot-cost.webp)Illustrative estimate using OpenAI list prices and the BLS median developer wage; swap in your own volumes and rates.

Break latency down the same way: time embedding, search, reranking, generation and external calls separately before reaching for a bigger model. Generation is usually the slowest stage and grows with answer length. Streaming makes the wait feel shorter but does not shorten it, so budget for the time to a complete answer.

### How long it takes

A first pilot for one workflow and one source collection usually runs in phases like these. The ranges are planning assumptions, not a commitment; messy documents or strict access rules push them up.

  
| Phase | What happens | Planning assumption (weeks) |
| --- | --- | --- |
| Scope, answer contract and test questions | Choose the workflow, sources and owners; collect real questions with expected outcomes | 1 to 2 |
| Ingestion, chunking and indexing | Parse the messiest documents, review extracts, add metadata | 1 to 2 |
| Retrieval baseline and tuning | Measure what simple search misses; add filters, hybrid search or a reranker only as needed | 1 to 2 |
| Answers, citations and fallbacks | Context assembly, citation mapping, clarify, decline and handoff paths | 1 to 2 |
| Permissions and change tests | Representative accounts, a test policy update, cache and access checks | 1 |
| Internal pilot | Support staff use it on live questions, compared with the current workflow | 2 to 4 |

That adds up to roughly 7 to 13 weeks from scoping to the end of an internal pilot. In this plan the internal pilot is the longest and least predictable phase, because that is where missing sources and unclear ownership surface.

  

    Miracuves Solutions

    
      See how RAG connects AI responses to relevant business knowledge before generation.
    

    
      Explore document ingestion, embeddings, vector search, retrieval pipelines, context injection, source grounding, access controls, and evaluation workflows that help reduce unsupported AI responses.
    

    
      
        RAG & Enterprise AI • 6 Days Deployment
      
    

  

  

    

      

        [Talk to Experts](https://api.whatsapp.com/send/?phone=919830009649&text=Hi%20Miracuves%2C%20I%20want%20to%20discuss%20RAG%20architecture%2C%20vector%20search%2C%20document%20retrieval%2C%20source%20grounding%2C%20AI%20hallucination%20reduction%2C%20and%20enterprise%20AI%20workflows.&type=phone_number)

        [Book a Consultation](https://miracuves.com/schedule-consultation/)

      

      
        Discuss retrieval pipelines, source grounding, AI accuracy, and your 6-day deployment path.
      

    

  

## Where Miracuves Fits

Our [RAG development service](https://miracuves.com/service/rag-development/) builds document-grounded assistants along the lines of this guide: ingestion and chunking tuned to your documents, permission-filtered hybrid retrieval, citation mapping, the clarify, decline and handoff paths, and an evaluation set built from your real questions. The box above mentions a 6-day deployment. We list that timeline for ready-made platforms; a custom RAG rollout is scoped on its own, because data preparation, permissions, integrations and evaluation depend on your material.

Bring a handful of approved documents, the questions people really ask, and a few examples that must be escalated. Those turn “we want a chatbot” into a pilot you can scope, test and measure.

## Frequently Asked Questions

### Does RAG stop AI hallucinations completely?

No. RAG reduces unsupported answers by giving the model evidence from your own documents, but it can still retrieve an outdated version, drop an exception that changes the answer, or cite a passage that does not support the claim. Test whether answers are right for the specific customer and whether each citation backs its sentence before you widen access.

### Does a RAG system need a vector database?

Not always. A small, well-organized collection can work with keyword search plus filters for product, version or region. Vector search helps when users describe the same issue in different words. Extensions such as pgvector add vector and hybrid search to Postgres, so many pilots start in a database the team already runs. Decide based on what simple search misses in your tests.

### What is the difference between RAG and fine-tuning?

RAG hands the model relevant evidence at the moment a question is asked, so answers can follow documents that change and can cite them. Fine-tuning changes how a model tends to respond through extra training, which suits style, format and task behavior rather than looking up a policy that changes every quarter.

### How much does a RAG pilot cost?

For one workflow the model bill is usually small. In an illustrative pilot with 2,000 documents and 10,000 questions a month, embedding and generation at November 2026 OpenAI list prices cost under $20 a month on gpt-5-mini, or about $60 on gpt-6.1-terra, which replaces it after OpenAI’s December 11, 2026 shutdown. Engineering time dominates: about 480 hours over eight weeks comes to roughly $31,400 at the US median developer wage, before benefits, overhead or outside rates.

### How do you evaluate a RAG system?

Build a set of real questions with expected outcomes, including ones that should be clarified, declined or escalated. Score retrieval and answers separately with metrics such as context recall, context precision and faithfulness, check that automated scores agree with human reviewers on a sample, and treat any permission leak as a release blocker.

### Is it safe to use RAG with private company documents?

It can be, if the organization approves the data flow and the application filters passages by the user’s permissions before anything reaches the model. Apply the same rules to cached results and logs, treat retrieved text as data rather than instructions to limit prompt injection, and test with representative accounts, not only an administrator.

## Disclaimer

**Miracuves is an independent software development company.** We are not affiliated with, connected to, sponsored by, or endorsed by any of the brands or platforms named on this page. Names of the form “Brand Clone” are used descriptively: it is how the software industry refers to building a platform with functionality comparable to a known service, and how clients search for it. The entire design and codebase of our products is built by our own team and contains no code, design, graphics, or content originating from any third-party website or application. All third-party names and marks are the property of their respective owners. [Full Legal Notice & Disclaimer](https://miracuves.com/disclaimer/)
