Skip to content

RAG vs Fine Tuning: Which One Your LLM Actually Needs

RAG changes what a model knows. Fine tuning changes how it behaves. Teams pick wrong because they never ask which of the two is broken. Here's what the published benchmarks actually show, what each approach costs, how they stack, and how to diagnose your own case.

Occasional field notes on building software, no spam

Protected by Cloudflare Turnstile · Privacy · Terms

Idealogic: rag vs fine tuning

RAG vs fine tuning is a question about which layer is broken, and the answer is not a matter of taste. Retrieval-augmented generation changes what the model knows at the moment you ask it something. Fine tuning changes how the model behaves before you ask anything at all. If your model writes clean, well-shaped answers on top of facts it does not have, you need retrieval. If it has the facts and still answers in the wrong format, register, or structure, you need fine tuning. Almost every team that picks badly skipped that diagnosis and went shopping for a technique instead.

Published evidence on this is also less even-handed than most comparisons suggest. Ovadia and colleagues put unsupervised fine tuning head to head with retrieval across a spread of knowledge-intensive tasks and found RAG consistently ahead, on knowledge the model met during training and on knowledge that was entirely new. Their sharper finding is the one worth carrying: language models struggle to learn new factual information through unsupervised fine tuning in the first place. So if the complaint is that the model doesn't know your documents, the research answer is retrieval, and it isn't a close call.

That verdict has a real counterexample, though, and honest guidance has to include it. OpenAI's own accuracy optimization guide walks through an Icelandic sentence-correction task where fine tuning carried a BLEU score from 62 to 87, and bolting retrieval on top made the system worse, costing four points and landing at 83. Same model family, same effort, opposite result, because that task was never about knowledge. What follows sets out both cases properly: what each approach does mechanically, what the measured numbers say, what the two cost in engineering time and inference, how they stack, and how to work out which problem you have. RAG architecture detail sits behind that decision, because once you pick retrieval, retrieval quality becomes the entire game.

The short version

  • RAG supplies knowledge at query time by retrieving document chunks into the prompt; fine tuning rewrites the model's weights to change behaviour. Knowledge and behaviour are different failures with different fixes.
  • For new or changing facts, retrieval wins on the published evidence, and fine tuning is unreliable at getting new knowledge into weights at all.
  • For format, tone, classification, and low-resource languages, fine tuning wins, and retrieval can actively hurt.
  • The two are cumulative, not exclusive: Microsoft's agriculture study measured over six accuracy points from fine tuning and five more from retrieval on top.
  • Cost splits by lifecycle. RAG pays per query and per index update; fine tuning pays up front and again on every knowledge refresh.
  • Diagnose before you build. Paste the ideal context into the prompt by hand. If the answer becomes correct, you have a retrieval problem. If it stays wrong, you have a behaviour problem.

RAG vs fine tuning: what each one does to the model

Start with mechanics, because most confusion in this debate comes from treating two unrelated operations as competing products.

Fine tuning is training. You take a base model and continue training it on your own examples, which adjusts the weights. The model comes out of that process behaving differently: it writes in a house style, emits a schema you defined, classifies into your categories, or handles a language it previously mangled. What it doesn't reliably come out with is a dependable memory of the facts in your training data. Weights encode patterns, not a lookup table, and there's no way to check a claim against the source afterwards or to delete a fact on request.

RAG is plumbing. The weights are untouched. At query time the system embeds the question, searches an index for the passages most likely to contain the answer, and writes those passages into the prompt alongside the question. The model then reasons over text you control and can cite. Updating knowledge means re-indexing a document, which takes seconds. Removing knowledge means deleting a row, which matters more than it sounds when a data subject exercises a deletion right and the alternative is retraining.

OpenAI's guide frames the split usefully as two axes rather than two products. Context optimization answers the question of what the model needs to know and maximizes response accuracy. LLM optimization answers the question of how the model needs to act and maximizes consistency of behaviour. RAG moves you along the first axis. Fine tuning moves you along the second. Nothing stops you from moving along both.

RAGFine tuning
What it changesThe prompt, at query timeThe weights, before query time
Best atFacts, documents, anything that changesFormat, tone, task behaviour, language
Knowledge freshnessRe-index in secondsStale until the next training run
CitationsNative, chunks carry their sourceNot possible
Deleting a factDelete the rowRetrain the model
Per-query costRetrieval plus a longer promptShorter prompt, premium inference
Time to first versionDays to weeksWeeks, mostly spent on data
Fails byRetrieving the wrong passageSounding confident and being wrong
Retrieval decides what the model knows. Fine tuning decides how it answers. Teams argue about the wrong one because they never checked which part failed.

When RAG beats fine tuning

Retrieval wins whenever the correct answer lives in a document rather than in a pattern, and it wins by a wider margin than the marketing on either side admits.

Ovadia's study is the cleanest read on this. Across knowledge-intensive tasks in several topics, retrieval outperformed unsupervised fine tuning on both familiar and entirely new material. The authors go further and report that models have real difficulty learning new factual information through unsupervised fine tuning at all, with the only mitigation being exposure to many rephrasings of the same fact during training. That's an expensive workaround for something an index does for free.

It gets stronger exactly where enterprise data lives. Soudani and colleagues looked specifically at less popular knowledge, the long tail of rare entities that appear infrequently in any pretraining corpus, and found retrieval consistently ahead of fine tuning there. Your customer records, part numbers, internal policies, and product SKUs are all low-frequency entities by definition. None of them were well represented when the base model was trained, and fine tuning doesn't fix a representation problem by adding a few thousand examples.

Reach for RAG when any of these describe your situation:

  • The facts change. Pricing, policies, inventory, tickets, regulations. Anything with a version number belongs in an index, not in weights.
  • Citations are non-negotiable in regulated workflows, internal knowledge assistants, and anything a lawyer will eventually read. Only retrieval gives you a traceable source.
  • The corpus is large and sparse. Thousands of documents where any given query touches two of them is the canonical retrieval shape.
  • Access control matters, and chunk-level metadata filtering keeps a user out of documents they shouldn't see. There's no equivalent inside a fine tuned model.
  • Deletion has to be real. A vector store honours a deletion request; a set of weights can't.

When fine tuning beats RAG

Here's where the argument flips, and OpenAI's Icelandic study is the sharpest published version of it.

Their task was correcting Icelandic sentences, a low-resource language the base model handled badly. Zero-shot GPT-4 scored 62 BLEU. Three few-shot examples lifted it to 70. Fine tuning GPT-3.5-turbo on a thousand examples reached 78, and fine tuning GPT-4 on the same set reached 87. Then retrieval was added to the fine tuned model and the score fell to 83. OpenAI's own explanation is the useful part: this was a behaviour optimization problem, and extra context was never going to help a model that already understood the request and simply performed it badly.

That pattern repeats wherever the failure is in the doing rather than the knowing. Structured extraction that has to emit exactly your schema every time. Classification into categories with fuzzy boundaries a prompt can't describe precisely. A brand voice with a hundred small rules nobody wrote down. Distillation, where you fine tune a small cheap model on a large expensive model's outputs to hold quality while cutting latency and inference cost, which is one of the strongest 2026 arguments for training and has almost nothing to do with knowledge.

There is also a quiet operational argument. A fine tuned model needs no retrieval hop, so the prompt is shorter and the round trip is simpler. At high enough volume, both of those turn into money. Our fine tuning LLM guide covers the data preparation, LoRA and QLoRA methods, and evaluation loop that make a training run worth funding.

StudyTask typeFine tuning effectRAG effectWinner
Balaguer et al. (agriculture QA)Domain knowledgeOver +6 accuracy points+5 points on top of fine tuningBoth, cumulatively
Balaguer et al. (cross-geography answers)Knowledge transferAnswer similarity 47% to 72%Not the measured variableFine tuning
Ovadia et al. (knowledge injection)New and existing factsLimited and unreliableConsistently aheadRAG
Soudani et al. (rare entities)Long-tail knowledgeWeakerStrongerRAG
OpenAI (Icelandic correction)Language behaviourBLEU 62 to 87Cost 4 points, 87 to 83Fine tuning

RAG vs fine tuning vs prompt engineering

Before you spend on either, spend an afternoon on the option that costs nothing, because it settles a surprising share of these arguments.

Prompt engineering means getting more out of the model you already have: clearer instructions, a worked example or two, an explicit output schema, a refusal rule for cases the model should not answer. The Icelandic numbers make the point in miniature. Three few-shot examples moved the score eight points, which is a meaningful fraction of what a thousand-example training run delivered, at a fraction of a percent of the effort.

It is also the fastest diagnostic available. Take a query the system gets wrong. Paste the ideal supporting document into the prompt yourself. If the answer becomes correct, the model was never the problem and you have a retrieval problem to solve. If the answer stays wrong with perfect context sitting right there, no amount of retrieval engineering will save you and the behaviour needs training. That single test routes the decision more reliably than any comparison table, including the one above.

Work in that order: prompt engineering, then retrieval, then fine tuning. Most teams should stop before the third step. Each stage is cheaper, faster, and easier to reverse than the one after it, and each one tells you something you need before committing to the next.

What RAG vs fine tuning costs in engineering time and inference

Cost comparisons in this space are unreliable because the published break-even points disagree with each other by an order of magnitude and none of them show their assumptions. What holds up is the shape of the two cost curves, so reason about that instead of borrowing someone else's number.

RAG front-loads little and charges continuously. Building the index is cheap: embedding a corpus is one of the least expensive operations in the whole stack. The recurring costs are a retrieval hop on every query, a longer prompt because the retrieved passages consume input tokens, and an optional reranking pass. Add the ongoing engineering to keep chunking, hybrid search, and the eval harness honest. A first working version is usually days to a few weeks of senior time.

Fine tuning front-loads heavily and charges again on every refresh. The training run itself is often the smallest line item. What's expensive is building a training set that demonstrates the behaviour you want, which is human work that does not parallelize well. Then inference on a fine tuned model typically carries a premium over the base model, and the day your underlying facts change, the model is stale with no cheap remedy. Cost per knowledge update is where the two approaches diverge most sharply, because retrieval re-indexes a document and fine tuning schedules another training run.

Latency runs the other way. RAG adds an embedding call, an approximate nearest-neighbour search, an optional rerank, and a longer prompt to process. A fine tuned model skips all of that. If you're working to a hard sub-second budget, that difference is a genuine argument for training, and it is worth measuring at the ninety-fifth percentile rather than the median, because retrieval tails are longer than retrieval averages.

Volume crossover is real, but it sits further out than most teams assume. Fine tuning only wins on cost when the token savings from shorter prompts, accumulated over an enormous query count, exceed the training and retraining bill. Below that point retrieval is cheaper and much easier to change your mind about. If you're sizing a build rather than an experiment, our generative AI development practice scopes both paths against your real volumes before anyone writes code.

How to tell which problem you have

Two tests, in order, resolve nearly every real case. Run them before you read another comparison.

The context test: does the answer live in a document

Take twenty queries your system currently gets wrong. For each, find the document that contains the correct answer and paste the relevant passage straight into the prompt by hand. Score the answers again. If most of them come good, your problem is retrieval and the whole project is a retrieval-quality project. If they come good only sometimes, you have a mixed set and should split it and rerun the test on each half.

Signs your problem needs fine tuning, not RAG

If the hand-pasted context doesn't fix the answer, look at how the failures cluster. Wrong structure, inconsistent formatting, tone that keeps sliding off, categories the model refuses to separate, or a language it handles clumsily are all behaviour failures. So is the case where output quality is fine but the model is too slow or too expensive and you want a smaller one to imitate it. None of those improve with better retrieval.

The freshness test: how often does the truth change

Even when fine tuning looks right, ask how long the answer stays correct. If the underlying facts move weekly, anything you bake into weights starts decaying immediately and you're signing up for a retraining cadence forever. Facts that move belong in an index no matter which approach fixes the behaviour around them.

Not sure which one your problem needs
Talk to our AI engineers

How RAG and fine tuning combine

Framing this as a versus question is a convenience for headlines. In production the two stack, and the best measured result in the literature comes from using both.

Microsoft's agriculture case study built a full pipeline over agricultural documents and evaluated Llama2-13B, GPT-3.5, and GPT-4. Fine tuning delivered an accuracy increase of over six percentage points, and retrieval added five more on top of that, cumulatively rather than redundantly. The same work reported a separate and striking result: the fine tuned model learned to draw on information across geographies to answer location-specific questions, lifting answer similarity from 47% to 72%. Fine tuning taught the model how to reason about the domain. Retrieval supplied the specific facts. Neither substituted for the other.

Here's a hybrid sequence that's unglamorous and works:

  1. Get prompt engineering right and record the score.
  2. Build retrieval, measure it separately from generation, and fix retrieval until the context reaching the model is genuinely the right context.
  3. Only then look at what is still wrong. If the remaining errors are behavioural, assemble a training set from those specific failures.
  4. Fine tune, then re-run the whole evaluation with retrieval still switched on, because the interaction can go either way and the Icelandic result proves it.

Doing it in that order also protects you from the most common false conclusion in this field, which is deciding that RAG lost when what actually happened is that a poorly built RAG lost.

What a production RAG pipeline contains

If the diagnosis points at retrieval, the rest of this guide is the part that matters, because RAG comparisons are only as good as the RAG being compared.

Left-to-right pipeline diagram showing the eight stages of a production RAG system from ingestion through evaluation.
RAG is a pipeline, not a prompt, and each stage compounds into the next

A demo version of retrieval is a weekend of work: embed some documents, fetch the closest chunks, stuff them into a prompt. That version survives ten PDFs and falls over on real traffic, because retrieval-augmented generation is a pipeline rather than a prompt. The honest architecture has more moving parts than the diagrams suggest:

  • Ingestion: loading source documents, cleaning them, and splitting them into chunks.
  • Embedding: turning each chunk into a vector that captures meaning.
  • Storage means a vector store that indexes those vectors for fast similarity search.
  • Retrieval: finding the chunks most relevant to a user's query.
  • Reranking reorders the retrieved candidates so the best ones land at the top.
  • Prompt assembly: packing context, instructions, and the question into the model's window.
  • Generation is where the LLM produces a grounded answer, ideally with citations.
  • Evaluation measures retrieval quality and answer faithfulness over time, and it's the stage teams skip.

Each stage compounds. Weak chunking poisons embeddings, bad embeddings wreck retrieval, and no model answers well from context that never reached the prompt. You debug the pipeline backward from the answer and build it forward from the data. For the model layer that sits downstream of all of it, our guide to large language model development covers the surrounding engineering.

Chunking and embeddings: the RAG decisions that set your ceiling

Line chart showing retrieval F1 score rising then falling as chunk size grows, peaking around 350 tokens.
Tiny chunks lose context, huge chunks dilute signal, so tune to the sweet spot

Chunking is splitting documents into retrievable pieces, and it's the most underrated step in the pipeline. Get it wrong and every downstream stage inherits the damage, including any benchmark you later run against fine tuning.

Naive chunking splits on a fixed character count. It's fast, and it's wrong often enough to matter, because it slices sentences in half and separates a claim from the qualifier that makes it true. Better strategies respect structure. Recursive splitting breaks on natural boundaries first, falling back to hard cuts only when a section runs long. Semantic chunking groups sentences by embedding similarity so a chunk holds one coherent idea. Structure-aware splitting uses the document's own markup, keeping headings, sections, and code blocks intact.

Two parameters carry most of the weight. Chunk size trades recall against precision: small chunks retrieve tightly but lose context, large chunks carry context but dilute signal and burn tokens. Overlap stitches adjacent chunks so a fact spanning a boundary survives. A few hundred tokens with ten to fifteen percent overlap is a reasonable place to start, and after that you tune against real queries instead of guessing.

An embedding model converts text into a vector positioned so similar meanings sit close together. Hosted models are strong and need no infrastructure, but they send your text to a third party and charge per token. Open-weight models you run yourself keep data inside your perimeter at the price of operating the serving stack. Larger vectors capture more nuance and cost more to store and search. Whatever you pick, embed documents and queries with the same model, or the geometry stops meaning anything.

Your vector store indexes those vectors and answers similarity queries fast. Dedicated databases such as Pinecone, Weaviate, Qdrant, and Milvus are built for scale, metadata filtering, and hybrid search. Postgres with pgvector keeps vectors next to your relational data and is often the pragmatic choice at modest volume. Embedded libraries like FAISS and Chroma suit prototypes and read-heavy workloads. Underneath, exact nearest-neighbour search is too slow at scale, so these systems use approximate indexes such as HNSW, trading a sliver of recall for a large speed gain.

One detail teams skip: store metadata on every chunk. Source document, section title, page, timestamp, and access permissions all belong there. You need them for filtering, for citations, and for keeping a user out of a document they should not see.

Retrieval and reranking: where RAG quality is won or lost

Bar chart comparing answer-relevant context recall across keyword, vector, hybrid, and hybrid-plus-rerank retrieval strategies.
Hybrid search plus reranking lifts retrieval well past either method alone

Naive vector search retrieves the chunks whose embeddings sit closest to the query embedding. It holds up until a user types something the embedding model handles poorly, such as an exact code, a product name, or a rare acronym, where pure semantic search misses the literal match.

Hybrid search fixes most of that. Run a keyword search and a vector search in parallel, then fuse the rankings, commonly with reciprocal rank fusion. Keyword search nails exact terms. Vector search catches paraphrase and intent. Together they cover each other's blind spots.

Reranking separates a mediocre pipeline from a good one. Retrieval is tuned for recall, casting a wide net and accepting noise. A reranker, which is a cross-encoder that reads the query and each candidate together, then scores relevance directly and reorders, so only the top handful reaches the model. Anthropic published hard numbers on how much this matters: contextual embeddings combined with contextual BM25 cut the top-20 retrieval failure rate from 5.7% to 2.9%, a 49% reduction, and adding a reranker took it to 1.9%, a 67% reduction against the original baseline.

Retrieve wide for recall, rerank narrow for precision, then send the model only what earned its place in the context window.

Those percentages are the reason so many RAG versus fine tuning bake-offs are worthless. A baseline pipeline failing on 5.7% of retrievals will lose to a fine tuned model that a well-built pipeline would have beaten comfortably. Here is how the main strategies compare on the axes teams actually decide on:

Retrieval strategyCatches exact termsCatches paraphraseRelative costReach for it when
Keyword (BM25)YesNoLowExact codes, product names, and rare acronyms dominate
Vector (semantic)NoYesMediumQueries are conversational or intent-heavy
Hybrid (BM25 plus vector)YesYesMediumMost production corpora, as the sensible default
Hybrid plus rerankingYesYesHigherPrecision matters and the latency budget allows

A few techniques earn their keep when base retrieval stalls. Query rewriting cleans up vague or conversational questions before embedding. Multi-query expansion runs several phrasings and merges the results. Metadata filtering constrains search to the right tenant, date range, or document type before similarity even runs, which is a quality control and a security control at once.

Grounding: why RAG constrains hallucination and fine tuning does not

Once the right chunks are in hand, you assemble the prompt: a system instruction, the retrieved context, and the question. This is also where you decide what the model does when the context does not contain the answer, and it is the clearest structural advantage retrieval holds over training.

One instruction matters more than everything else in a RAG system: the refusal contract. Tell the model, explicitly, to answer only from the provided context and to say it doesn't know when the context is silent. Without that it fills gaps from training data, and a confidently wrong answer that looks grounded is worse than no answer at all. A fine tuned model has no equivalent lever, because there's no retrieved passage to check an answer against and no way to make it abstain from knowledge it absorbed during training.

Everything else in hallucination control is retrieval quality plus a few guardrails:

  • Require the model to attribute each claim to a specific source chunk. Citations make answers verifiable and make hallucinations obvious.
  • If retrieval returns nothing above a relevance threshold, return no answer instead of generating from thin air.
  • Long contexts suffer from lost-in-the-middle effects where models under-weight content buried between the start and end. Fewer, better-ranked chunks beat a stuffed window.
  • For high-stakes answers, a second pass can check whether each generated claim is supported by the cited context.

Fine tuning on domain facts often makes this worse rather than better, which is the opposite of what teams expect. Training on your documents teaches the model to sound fluent and authoritative in your domain without giving it any mechanism to verify a claim, so the wrong answers arrive in exactly the right voice. This discipline is a large part of what a serious generative AI development effort spends its time on.

How to evaluate RAG vs fine tuning honestly

Donut chart splitting RAG evaluation across retrieval metrics, generation faithfulness, citation accuracy, and answer relevance.
Score retrieval and generation separately to know what actually broke

You can't compare two approaches you can't measure, and "it looked fine in testing" is not measurement. Evaluation splits cleanly into two questions: did retrieval fetch the right context, and did generation use it faithfully.

Evaluate retrieval the way information retrieval has always been evaluated. Context recall asks how many of the chunks that should have been retrieved actually were. Context precision asks how many of the retrieved chunks were relevant. Hit rate and mean reciprocal rank ask whether the right chunk showed up and how high it ranked.

Evaluate generation against the retrieved context rather than against a vibe. Faithfulness asks whether every claim in the answer is supported. Answer relevance asks whether the response addresses the question. Citation accuracy asks whether the cited sources back the claims attached to them.

Build a labelled evaluation set early, a few dozen real questions with known good answers and known relevant documents, and run it on every change. Frameworks such as Ragas and DeepEval automate much of this, including model-as-judge scoring for faithfulness. Then hold both approaches to the same set. The comparison is only meaningful when retrieval is tuned before you measure it, when the fine tuned model is trained on a real set rather than a token one, and when you also run the combination, because the Balaguer and OpenAI results point in opposite directions and only your own data settles which one you resemble.

Set an operational threshold before you start rather than after. OpenAI's customer service worked example puts a break-even accuracy of 81.5% on the table, and having a number like that in advance stops the evaluation turning into an argument about whether 84% feels good enough.

Where RAG and fine tuning go from here

The frontier is moving past both single-shot retrieval and one-off training. Agentic RAG lets the model decide when to retrieve, what to search for, and whether to search again after reading the first results, which suits multi-hop questions no single query answers. GraphRAG builds a knowledge graph from the corpus so the system traverses relationships instead of only matching similarity. On the training side, distillation has quietly become the strongest reason to fine tune, because compressing a frontier model's behaviour into a small cheap one solves latency and cost problems that no amount of retrieval touches.

Larger context windows tempt teams to skip retrieval entirely, and for small stable corpora with prompt caching that's now a legitimate third option. It stops being one the moment your corpus outgrows the window, your latency budget tightens, or the lost-in-the-middle effect starts eating accuracy in the part of the prompt nobody reads.

None of this changes the decision at the top of this guide. RAG vs fine tuning is still a question about whether your model lacks knowledge or lacks the right behaviour, and the published evidence still says retrieval for the first and training for the second. Diagnose honestly, build retrieval properly before you judge it, and treat fine tuning as the specific tool it is rather than the default upgrade.

If you're scoping a retrieval system, a fine tuning programme, or the hybrid of the two, our AI development team handles the architecture, evaluation harness, and production hardening end to end. If you're assembling the people instead, our guide to AI staffing explains why the data engineer is the role retrieval projects most often leave unfilled, and what happens to quality when they do.

Build your AI product with a team that ships
Talk to our AI engineers

Frequently asked questions

  • RAG leaves the weights alone and supplies knowledge at query time by retrieving document chunks into the prompt. Fine tuning changes the weights by training on your examples, which teaches behaviour rather than facts. Retrieval changes what the model knows right now; fine tuning changes how it answers in general.

  • For knowledge problems, yes, and the research is consistent about it. Ovadia and colleagues found RAG ahead of unsupervised fine tuning across knowledge-intensive tasks, on both familiar and entirely new material, and reported that models struggle to absorb new facts through fine tuning at all. For behaviour problems it flips: OpenAI's own accuracy guide documents a task where fine tuning lifted the score sharply and adding retrieval on top made it worse.

  • Yes, and on knowledge-heavy domain tasks the combination is the strongest option. In Microsoft's agriculture study, fine tuning added over six accuracy points and retrieval added five more on top of that, so the gains were cumulative rather than overlapping. The usual sequence is to get retrieval working first, measure it, and fine tune afterwards only if a specific behaviour is still wrong.

  • Usually at the start, and almost always to keep running. RAG charges you for indexing once, then for a retrieval hop plus a longer prompt on every query; when content changes you re-embed a few documents and you're done. Fine tuning front-loads the expensive part, which is building a training set that demonstrates the behaviour you want, then charges you again every time the facts move, because the only fix for a stale fine tuned model is another training run. It does turn the tables at very high query volume, where token savings from shorter prompts outrun the retraining bill. Published break-even estimates disagree by roughly an order of magnitude, so treat any single number you read as someone else's assumptions.

  • When the model already has the knowledge and still gets the output wrong. Rigid formats, a specific tone, classification and extraction behaviour, a low-resource language, or squeezing a large model's behaviour into a smaller cheaper one are all fine tuning problems. The tell is simple: paste the perfect context into the prompt by hand, and if the answer is still wrong, retrieval was never going to fix it.

  • No, and it often makes them worse. Training on your facts teaches the model to sound confident in your domain without giving it any way to check a claim. Grounding is what suppresses hallucination: retrieve the passage, answer only from it, force citations.

  • Far more than teams expect, and quality matters more than volume. A narrow behaviour like a fixed output format can move on a few hundred well-curated examples; anything broader wants thousands. The examples have to show the behaviour you want rather than describe it, and building that set is usually the longest part of the project, well ahead of the training run itself.

  • Always. It costs an afternoon and often fixes format and tone outright, which kills the case for fine tuning before you fund it. It's also the cheapest diagnostic you have: paste the ideal context into the prompt by hand and see whether the answer comes good.

Related expertise