Home  ·  Blog  ·  AI & Automation
AI & Automation

RAG vs fine-tuning vs prompt engineering: what does your business actually need?

Three ways to make an AI model fit your business, often confused. A simple way to tell them apart, when each one is worth it, and why most projects start with two of them.

· 6 min read · By
Two engineers comparing two approaches on a whiteboard

Sooner or later every AI project meeting hits the same question: "Should we fine-tune a model on our data?" Often the honest answer is no. Not because fine-tuning is bad, but because people use the word for three different things that solve three different problems.

Here's a simple way to tell them apart.

Think of hiring a new employee

  • Prompt engineering is the briefing on day one: who our customers are, how we speak to them, what you may and may not do. You change behaviour by explaining.
  • RAG (retrieval-augmented generation) is the company handbook and shared drive. The employee looks things up whenever a question comes in. You change knowledge by updating documents.
  • Fine-tuning is a training course with hundreds of worked examples, after which the employee does a specific kind of task in a specific way out of habit. You change habits by practice.

Most useful business assistants need the briefing and the handbook. Only some need the training course.

Side by side

Prompt engineeringRAGFine-tuning
ChangesBehaviour, tone, rulesWhat the AI knowsThe model's habits and style
Good forPersona, format, limitsAnswering from your documentsNarrow, repeated tasks with a fixed style
Keeping facts currentManual editsUpdate the documentsRetrain
Effort to startLowMediumMedium to high
Data neededA few good examplesYour documents, cleanedHundreds to thousands of quality examples
Shows sourcesNoYes, if designed toNo

When prompt engineering is enough

  • Drafting replies to reviews or emails in your tone.
  • Summarising calls, notes and documents in a fixed format.
  • Classifying enquiries into a handful of categories.
  • Any task where everything the AI needs is in the request itself.

Write clear instructions, include a few examples of good output, and test. Our guide to writing an AI persona shows what good instructions look like.

When you need RAG

  • The assistant must answer from your policies, manuals, product catalogue or price list.
  • The information changes regularly.
  • Different users may see different information.
  • Users need to see where an answer came from.

This covers most customer support assistants, internal knowledge assistants and sales assistants. We explain the build in how to build an AI assistant on your company data.

When fine-tuning is worth it

  • A narrow task repeated at high volume where a consistent output format matters, such as extracting fields from one type of document.
  • A particular writing style or domain language that instructions alone can't achieve reliably.
  • Making a smaller, cheaper model perform a specific task almost as well as a bigger one, to cut running costs at scale.

Fine-tuning needs a good set of examples: inputs paired with the exact outputs you want, checked by people who know the work. Collecting and cleaning them is usually the biggest part of the job. And when your needs change, you repeat it.

Three examples

A clinic's WhatsApp assistant

It needs to answer about timings, doctors, treatments and fees, which change every few months, and book appointments. Prompting plus RAG. The persona and rules come from the instructions; the facts come from the clinic's documents, which the front desk can update. Fine-tuning would add cost and make updates harder.

Reading thousands of supplier invoices a month

The task is narrow and repeated: pull the same fields from similar documents, in exactly the same output format, at high volume. Start with prompting on a capable model. If accuracy, speed or cost isn't good enough at your volume, fine-tuning a smaller model on a few thousand checked examples can make sense.

Product descriptions in your brand voice

For a catalogue of a few hundred products, prompting with good examples of your best descriptions usually works well, with a person reviewing. For tens of thousands of products in a very particular style, a fine-tuned model may produce more consistent results. Product facts (sizes, materials, prices) still come from your product data, not from the model's memory.

How to test whichever you choose

  1. Collect 50 to 100 real inputs: customer questions, documents, products.
  2. Write down what a correct output looks like for each.
  3. Run the system on all of them and score the results honestly.
  4. Change one thing at a time (instructions, documents, model, fine-tuning) and score again.
  5. Keep the set and re-run it whenever anything changes, including when the provider releases a new model version.

Without this, every choice above is a guess.

Mistakes we see

  • Fine-tuning to teach facts. The model may blend facts together or keep outdated ones, and you can't easily update or trace them. Facts belong in documents with RAG.
  • RAG for a style problem. If the answers are correct but sound wrong, fix the instructions, not the document store.
  • Skipping prompt engineering. Many "we need fine-tuning" projects are solved by clear instructions and three good examples.
  • No test set. Whatever you choose, you need real questions with expected answers to know whether it works.

A quick decision checklist

  1. Can the task be done with only the information in the request? Start with prompt engineering.
  2. Does it need your company's knowledge, which changes over time? Add RAG.
  3. Is it a narrow, high-volume task where format, style or cost still isn't good enough after the first two? Consider fine-tuning.
  4. In every case: build a test set first, and measure.

What this means for cost

Prompt engineering costs mostly time. RAG adds document preparation, a search store and some engineering. Fine-tuning adds the cost of creating examples, training runs and re-training. Our guide to AI automation costs in India breaks down build and running costs, and our checklist for hiring an AI development company includes the questions that reveal whether a vendor is choosing the right approach for you.

Not sure which one your project needs? Describe the task to our AI team and we'll tell you honestly, including when the answer is "just better instructions".

FAQs

Is fine-tuning the same as training my own AI model?

Not quite. Fine-tuning takes an existing model and adjusts it with your examples. Training a model from scratch is a far bigger, far more expensive job that almost no business needs.

Can fine-tuning teach an AI my company's facts?

It is a poor way to do it. Facts change, and a fine-tuned model would need retraining every time. Keep facts in documents and let RAG look them up; use fine-tuning for style, format or narrow specialised tasks.

Which approach is cheapest to start with?

Prompt engineering: you only write and test instructions. RAG adds a document pipeline and a search store. Fine-tuning adds the work of collecting and checking hundreds or thousands of good examples, and repeating it when needs change.

Can I combine RAG and fine-tuning?

Yes. A model fine-tuned for your format or domain language can still use RAG to look up current facts. Most businesses don't need the combination at the start.

Read next

Let's build something unforgettable.

From a 5-page launch to a multi-region growth engine — we plug in, ship fast, and stay till the numbers move.