Before choosing between retrieval and fine-tuning, identify what is missing from the response. Does the model need access to a current policy, or does it need to handle a particular task differently?
Retrieval supplies source information
Retrieval-augmented generation (RAG) looks up relevant material and gives it to the model when it answers. It is worth considering for changing information such as policies or product catalogs, because the source collection can be updated separately from the model.
Retrieval also gives a system material it can cite. A citation still needs checking: finding a relevant document does not guarantee that the answer represents it accurately.
Fine-tuning changes model behavior
Fine-tuning uses additional training examples to adjust a model. It is worth considering when the task calls for a consistent response style or domain vocabulary. Define the desired behavior and examples before committing to training.
Decide what to measure
- Use representative requests to assess whether responses follow the source material.
- Measure response time and operating cost for the proposed workflow.
- Review where source documents, training data, and requests would be processed.
The approaches can be combined when both problems exist. Intenteon’s AI Strategy work covers custom models and retrieval; a scoped discussion starts with your task and data.