// Knowledge systems · 3 min read

RAG vs Fine-Tuning: Which Problem Are You Solving?

Adding knowledge and shaping behavior are different engineering jobs.

By Jamil Darwish ·

Start with retrieval when answers depend on current, attributable business information. Consider fine-tuning only when a supported model and a well-defined behavioral gap justify it. Neither approach repairs unclear requirements or bad source data.

Separate facts from behavior

A support assistant may need today's approved return policy. That is a knowledge-maintenance problem. Another workflow may need a consistent classification style across many well-labelled examples. That is a different kind of adaptation problem.

Retrieval-augmented generation supplies relevant source material at answer time. Fine-tuning changes a supported model using training examples. Do not assume every frontier model offers fine-tuning; verify the actual model catalogue and service before designing around it.

A worked policy-assistant decision

Imagine a business whose shipping rules change by country and season. Staff need answers with the applicable policy version and a source reference. Storing approved records and retrieving the relevant policy makes updates and evidence easier to manage.

Fine-tuning on last month's policy text would not create a reliable update process. The system would still need a way to know which rule is current, who can approve it and which employees may access it. Fluent recall is not a substitute for provenance.

Where behavioral adaptation may help

A fine-tuning project can be worth evaluating when a stable task has enough appropriate examples and a measurable gap that simpler prompting or workflow changes do not solve. Define the desired behavior precisely before collecting more data.

For example, a team may need a specialized internal label taxonomy. First test clear instructions, validated output and a representative evaluation set. If the remaining error is consistent and the model supports adaptation, compare the proposed training approach against that baseline.

Do not ignore the shared dependencies

RequirementRetrieval routeAdaptation route
QualityRelevant, approved recordsAppropriate labelled examples
Change controlSource versions and reindexingTraining and release versions
PermissionsFilter access before retrievalReview what training data may contain
EvaluationClaim support and retrieval coverageBehavior on held-out cases

The two approaches can coexist, but adding both at once makes failures harder to diagnose. Establish a baseline and change one important component at a time.

A practical first architecture

For a changing business knowledge base, begin with approved source records, permission-aware retrieval, a concise answer contract and human escalation. Supabase's permission-aware RAG guide is one concrete implementation reference, not a requirement to use that platform.

Measure missing evidence, unsupported claims and review effort. Only then decide whether the remaining problem is retrieval quality, source maintenance, instruction design or model behavior. Choosing the right problem prevents an expensive adaptation project from becoming a workaround for information that nobody owns.

Sources and editorial scope

Researched and published 30 November 2026. Provider capabilities are attributed to official documentation; recommendations and worked examples are editorial analysis. No independent model benchmark or client outcome is claimed. Confirm current access, pricing and terms before implementation.

Download an AI starter skill · Explore the MCP directory

Build the useful version.

Discuss an AI workflow, knowledge assistant or digital-product brief with Jamil Darwish.

Start a conversation