Say you want a local AI that knows your work: your contracts, your course notes, your product manuals. There are two ways to get there. You can train (fine-tune) a model on your material, or you can use RAG and let the model look things up in your documents when you ask. They sound like two routes to the same place. They aren't, and picking the wrong one wastes days. Here's how to tell which you need.
The one-sentence difference
- Fine-tuning changes how the model behaves: its tone, its format, and how it handles a narrow kind of task.
- RAG changes what the model can see: it finds the relevant passages in your documents and puts them in front of the model for each question.
A useful image: fine-tuning sends the model on a training course. RAG hands it the right binder, open to the right page, every time you ask.
How RAG works
Retrieval-augmented generation was described by researchers in 2020 and is now how most "chat with your documents" tools work. The steps:
- Your documents are split into passages, and each passage is turned into an embedding, a list of numbers that captures its meaning.
- When you ask a question, the system finds the passages closest in meaning (and, in good systems, also matching keywords).
- Those passages are given to the language model with your question, and it answers from them.
The model itself never changes. Add a document and it can be searched within minutes. Delete one and it's gone from future answers. Because the answer comes from specific passages, a good RAG system can show you exactly where each claim came from. There's a fuller walkthrough in what RAG is and how it works.
How fine-tuning works
Fine-tuning continues a model's training on your own examples, usually hundreds or thousands of input-and-desired-output pairs. On consumer hardware this is almost always done with LoRA, which trains a small add-on (an "adapter") instead of changing every weight in the model. On a Mac, Apple's MLX LM tools can do LoRA fine-tuning. It's a command-line workflow: you prepare a dataset file, run the training, and test the result.
Training a model from scratch is a different thing entirely. It needs data-center resources and isn't something you do on a laptop.
Side by side
| RAG | Fine-tuning | |
|---|---|---|
| What it changes | What the model can see | How the model writes and behaves |
| Good for | Facts in your documents: policies, contracts, notes, manuals | A consistent style, a fixed output format, a narrow repeated task |
| Updating | Add or remove a file. Ready in minutes. | Build a new dataset and retrain. Hours or more. |
| Shows its sources | Yes, it can cite the passage and page | No, the knowledge is blended into the model |
| Switching models | Your index works with any chat model | The adapter only works with the model it was trained on |
| Effort | Import files in an app | Dataset preparation, training runs, evaluation |
| Typical failure | The search misses the right passage, so the answer is weak | The model states wrong "facts" with confidence |
Why fine-tuning is the wrong tool for facts
It's tempting to think that training a model on your documents will make it "know" them. In practice, fine-tuning is unreliable at storing specific facts. The model picks up the style and the general shape of your material, then fills gaps with plausible-sounding details, and it can't tell you where an answer came from. For anything you need to be able to check, like a clause number, a dosage, or a figure in a report, RAG is the safer choice, because the source passage sits right next to the answer.
When fine-tuning does make sense
- You need every answer in a strict format, such as a specific JSON shape or a house style for reports.
- You have a narrow, repeated task where a small fine-tuned model can match a much bigger general one.
- You want the model to write in a particular voice across thousands of outputs.
Even then, a well-written prompt often gets you most of the way first. Kynora AI's Writing Assistant, for example, matches your personal style from a few samples you paste in ("My Voice"), with no training at all.
Where RAG struggles
RAG isn't magic either. It works best for pointed questions whose answer sits in a few passages. It's weaker at "summarize this entire 300-page book", because only a handful of passages fit in front of the model at once. Its quality also depends on how documents are split and searched. Look for tools that combine meaning-based search with keyword search, rerank the results, and show citations, so you can see when retrieval went wrong.
Can you combine them?
Yes. Large teams sometimes fine-tune a model for tone and format, then use RAG for facts. For an individual or a small team working with their own documents, RAG alone is almost always the right starting point.
How Kynora AI does it
Kynora AI uses RAG, entirely on your device. Ask Docs parses your files (with on-device OCR for scans), embeds them with a local embedding model, and searches with both meaning-based (vector) and keyword (BM25) search, with an optional reranker. Answers list the document, section, and page they came from. Each Ask Docs chat answers from one document, Coming soon asking across several at once. The Writing Assistant's Verify with Ask Docs action already checks claims against all your imported documents.
Kynora AI doesn't fine-tune models. If you need that, Apple's MLX LM tools are the place to start, and once you fuse the adapter into the model and upload it to Hugging Face as a public model, you can import it into Kynora AI by pasting its link.