Loading page content…
Loading page content…
Loading page content…

A campus assistant can look impressive in a demo and still give the wrong exam date, quote an outdated policy, or answer one student with information meant for another. The first design choice is often framed as “RAG or fine-tuning?” They solve different problems, and for a student-facing assistant the safer starting point is usually a small, well-controlled retrieval system.
Use retrieval-augmented generation (RAG) when answers depend on changing or source-specific information: club events, learning resources, application deadlines, public policies or project documentation. At question time, the system searches approved documents and gives the model relevant passages to answer from.
Use fine-tuning when you need to change a model’s repeated behavior: a consistent response format, classification labels, a domain-specific writing style, or a narrow task pattern. Fine-tuning changes model behavior through examples; it is not a dependable way to keep a collection of current facts up to date.
A RAG system can be built without training a new model. The original RAG research describes combining a model’s learned knowledge with an external, searchable memory. See Lewis et al., “Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks”.
| Question | RAG | Fine-tuning |
|---|---|---|
| What changes? | The information supplied to the model for this answer | The model’s learned response patterns |
| Best for | Current facts, documents, policies and citations | Stable formats, tone, labels and repeated task behavior |
| Updating | Replace or re-index the source document | Prepare examples and run another training process |
| Source visibility | Can point back to retrieved documents | The model may not know which example influenced an answer |
| Main failure to watch | Wrong or missing retrieval; stale or unauthorized sources | Weak or biased examples; inconsistent generalization |
| Needs both? | Often the right base for a document assistant | Can complement RAG when response behavior remains inconsistent |
They are not mutually exclusive. A system can retrieve the current handbook and use a fine-tuned model to produce a standard answer format. But first establish that retrieval and permissions work; tuning a model will not repair a broken document index.
1. Keep the first source collection small. Start with documents the CORTEX team can maintain: a public FAQ, event information, learning-hub guides, project descriptions and approved links. Give every document an owner and a review date. Do not index student grades, private member details, personal messages or files whose sharing rights are unclear.
2. Make sources easy to retrieve and verify. Split long documents into sections that preserve headings and context. Store useful metadata with each section: title, canonical URL, publication date, owner and audience. Search results should include the source title and link, so a student can open the original. Retrieval quality depends on document cleanup, chunking and search settings as much as on the model.
3. Enforce access before the model sees a passage. If a future assistant has both public and member-only material, filter the search by the authenticated user’s permissions before retrieval. A sentence in the system prompt saying “do not reveal private files” is not an access-control system. Keep the first version public-only if there is no reliable identity and permission layer.
4. Make uncertainty visible. Tell the assistant to answer from retrieved sources, cite the specific page or section, and say when it cannot find enough evidence. Show the source links beside the answer, not just as a list at the bottom. If two sources conflict, surface the conflict and date rather than quietly choosing one.
5. Treat retrieved text as data, not trusted instructions. A webpage or PDF can contain malicious or irrelevant instructions aimed at the model. OWASP explains that prompt injection can arrive through retrieved content and that models do not reliably distinguish instructions from data. Keep retrieved text from granting permissions or directly triggering actions; restrict tools and review any action that can change records. See the OWASP GenAI guidance on prompt injection.
6. Log only what you need. Decide what gets stored, who can see it, how long it is retained and how a user can report a problem. Avoid putting sensitive student information into prompts or logs. The NIST Generative AI Profile is a useful framework for planning evaluation, privacy and oversight through the system’s lifecycle.
Write a small evaluation set from real campus questions, with a staff-checked answer and the source that supports it. Include questions with no answer in the documents, outdated information, ambiguous wording, and a user who should not be able to access a particular page.
Check the system in two separate places:
Track supported answers, correct citations, appropriate refusals, permission failures, latency and cost. A confident answer with the wrong document is a retrieval problem; a correct document summarized incorrectly is a generation problem. Fix the layer that failed instead of immediately changing models.
This is enough to learn whether students actually need an assistant before investing in model training or a large content pipeline.
Consider fine-tuning only after a working baseline reveals a repeated behavior problem that better instructions and examples do not fix. For instance, the assistant may need to classify requests into a stable set of categories or return answers in a strict schema. Build the training set from approved examples, keep private student data out, and evaluate against a separate set the model has not seen.
If the problem is “the event calendar changed,” update the source and re-index it. If the problem is “the model keeps formatting every answer inconsistently,” improve instructions or evaluate fine-tuning. If the problem is “the assistant found the wrong page,” improve search, metadata and document structure.
For a first campus AI assistant, start with public-only RAG, clickable citations, explicit uncertainty, and no tools that change records. Evaluate it against real questions and maintain the source documents. Add fine-tuning only if you can point to a stable behavior that remains wrong after retrieval and prompt design are working.
That approach makes answers easier to update and audit, while keeping the initial build small enough for a student team to maintain.
No questions yet. Be the first to ask.