Diagnose the failure before choosing a technique
An assistant may fail because it retrieved an obsolete policy, misunderstood a request, returned an unsuitable format or lacked the information needed to answer. Those failures do not have the same remedy. Replacing the model or adding training data before inspecting the failure can make a system more expensive without fixing its cause.
Collect representative questions with an expected outcome and supporting evidence. Include missing information, conflicting sources and Arabic and English phrasing where relevant. Record whether each failure comes from source quality, retrieval, instruction following, reasoning, output validation or access control.
Retrieval supplies evidence at the time of the request
Retrieval-augmented generation selects material that can be supplied to a model as context. It can connect answers to approved documents and retain source references. Its usefulness depends on document preparation, search quality, source authority and the response's actual support in the retrieved passages.
Permissions must be enforced before restricted material reaches the model. Titles, snippets, citations, conversation history and caches can disclose information as well as full documents. RAG does not automatically solve any of those boundaries. A document update also needs a defined path through ingestion, indexing and evaluation before the new answer can be trusted.
For the implementation questions, see permission-aware enterprise search. Retrieval is a way to supply evidence, not a guarantee that generation will use it correctly.
Fine-tuning changes a model's behaviour
Fine-tuning adjusts a pre-trained model using a further training process. Depending on the method and model, it may improve a narrow task, format or interaction pattern. It needs suitable rights to training data, carefully prepared examples and a test set that is not simply a copy of those examples.
It is not a reliable substitute for retrieving a frequently changing policy or checking a user's access. Nor should a team assume that information learned in model weights can later be removed as easily as a document from an index. Review the provider, hosting, retention and model lifecycle before introducing proprietary material.
OpenAI's model-optimisation guide describes evaluation, prompting and fine-tuning as different interventions. Availability and support change by provider and model; confirm current options before committing an architecture to a particular training service.
Training a base model is a different commitment
Training from scratch, or substantial continued pre-training, requires a justified objective, data rights, compute, engineering, evaluation and an operating plan. The question is not only whether a model can be trained, but whether it would improve the intended task enough to justify that programme compared with existing models and simpler approaches.
A company-specific assistant usually needs an application, approved sources and controls before it needs a new base model. Discussing language-model development does not establish that a supplier offers proprietary pre-training. Ask which work is actually proposed: application engineering, retrieval, fine-tuning or model training, and what evidence will demonstrate completion.
| Observed problem | First intervention to examine | Evidence to request |
|---|---|---|
| Wrong or outdated company facts | Source ownership and retrieval | Current approved passages, update tests and supported answers |
| Inconsistent output structure | Prompting and validation; then fine-tuning if justified | Held-out examples, valid output rate and failure recovery |
| A domain task remains poor across suitable existing models | Task-specific experiments before a training commitment | A baseline, data rights, learning objective and independent evaluation |
| Information crosses user permissions | Application-level authorisation | Denied-access tests across search, generation, files and history |
A practical sequence for a policy assistant
Suppose an assistant cites old travel rules and sometimes produces an unreadable expense checklist. First resolve which policy version applies, test retrieval against it and require source references. Separately define the checklist fields and validate the structure. A new training process should not be asked to compensate for an unresolved source register.
If output remains inconsistent after a controlled baseline, a limited fine-tuning experiment may be worth evaluating. Keep the questions and acceptance criteria fixed so that a more fluent answer is not mistaken for a more accurate one. The system may use retrieval and fine-tuning together, but each should have a distinct reason and owner.
Decide with evaluation and an exit route
Compare answer support, important error types, latency, operating cost and review effort on the same representative set. Examine refusals and uncertainty rather than rewarding only the number of answers produced. Keep inputs, configuration and versions traceable enough to investigate a regression without retaining sensitive content unnecessarily.
Before expanding, record how sources change, how access is revoked and how a model can be replaced. The model-selection guide covers that comparison at the task level. A useful decision may be to improve the sources, narrow the task or avoid generation entirely. Complexity earns its place through evidence, not through the label attached to the project.