How RAG differs from general chat AI

General chat AI answers from patterns learned during training. When you ask a question it has not seen before — or one that depends on your internal documentation — it may generate a plausible-sounding but incorrect answer (hallucination).

RAG works differently. At query time the system retrieves the most relevant passages from your approved document set, then passes those passages together with the question to the AI model to compose a reply. The answer is grounded in your documents, not in the model's training data.

This matters for enterprise use: answers about your products, policies and processes must come from sources your business controls, not from whatever a general model has absorbed from the internet.

RAG vs. fine-tuning: what to choose

Fine-tuning adjusts the weights of a model by training it on examples. It is expensive, requires labelled data, may expose your content to a model provider's training pipeline, and the model still risks hallucinating facts it has not seen. When your documents change, the model must be retrained.

RAG, by contrast, stores documents in a retrieval index you control. Update a document and the new content is immediately available at the next query. No retraining. No provider training risk (documents stay on your infrastructure). The source of every answer can be traced back to the retrieved passage.

For most enterprise knowledge-base applications — product documentation, policy Q&A, support SOP — RAG is the correct architecture.

Data preparation

RAG quality depends heavily on data preparation. Documents that are inconsistent, out of date or poorly structured produce unreliable retrieval. The preparation steps we follow:

  1. Content audit. Identify which documents are authoritative, which are drafts and which are superseded. Prioritise the authoritative set.
  2. Cleaning and formatting. Remove formatting artefacts (headers repeated on every page, watermarks, page numbers that interrupt sentences) that confuse the retrieval index.
  3. Chunking strategy. Decide how documents are split into retrievable segments. Chunk size and overlap affect recall — too large and irrelevant passages dilute the answer; too small and context is lost.
  4. Metadata tagging. Tag each chunk with document source, version and category so retrieval can be filtered by permission or relevance scope.
  5. Embedding and indexing. Convert text chunks into vector embeddings and store them in a retrieval index. The index is searchable by semantic similarity.

Data preparation is an ongoing activity. Documents are updated, rescinded and added. The maintenance plan defines how updates flow from source documents to the retrieval index.

Privacy and permission controls

Not all documents should be available to all users. A customer-facing support agent should not retrieve from internal HR policy documents, and a finance agent should not expose board-level materials to a general assistant.

Permission controls are implemented at the retrieval layer — each query is filtered against the user's permission scope before retrieval results are assembled. At deployment we define:

  • Which document collections each AI Agent may retrieve from
  • Which user roles or channels may query which agents
  • Whether any collections are excluded from external channels entirely

For on-premises deployments, documents and the retrieval index remain within your infrastructure. The AI model processes only the retrieved passages relevant to the query — it does not have persistent access to the full document set.

Acceptance testing for knowledge bases

Building a knowledge base without a formal acceptance test is building without verification. Our acceptance process uses a prepared scenario set that includes:

  • In-scope questions — questions the system should answer correctly from the indexed documents
  • Boundary questions — questions at the edge of the indexed scope; the system should indicate when it cannot find a source rather than guessing
  • Out-of-scope questions — questions outside the indexed scope; the system must decline clearly

Results are logged per scenario (pass/fail, source passage retrieved, response quality) and reviewed with the client. Gaps are fixed and re-tested before go-live sign-off.

Common failure modes

Retrieval misses
The correct passage exists but is not retrieved. Usually caused by poor chunking, inconsistent terminology between documents and queries, or an inadequate embedding model for the domain language.
Incorrect citation
The retrieved passage is plausible but from a superseded or draft version. Prevented by strict content audit and version tagging in the metadata layer.
Over-retrieval
Too many passages are retrieved; the model averages across them and produces a vague answer. Prevented by tightening the retrieval filter and reducing chunk overlap.
Confident hallucination
The model fills in details not in the retrieved passage. Monitored through acceptance testing and by reviewing system prompt guardrails that require citation of source text.
Stale knowledge base
Source documents are updated but the index is not. Prevented by the maintenance plan, which specifies a review cycle and an update trigger whenever source documents change.

Think BIG's approach

We deploy RAG using on-premises or private-cloud vector stores that remain within your infrastructure. No document content is sent to a public indexing service. The retrieval index is owned by you and can be migrated or audited at any time.

Our scope documents specify the document collections to be indexed, the chunking and metadata strategy, the permission filters per agent and channel, and the acceptance scenario set before build begins. This means you can verify what was agreed and what was delivered.

Have questions about how a specific document type or business process would be handled? Use the self-assessment below to describe your situation and we'll respond with a proposed scope.