Skip to content

Four ways to get better results from AI

An AI model is like a very well-read new colleague. There are four dials you can turn to make it more useful. Start with dial 1, and move on only when you need to.

flowchart TB
    Q{What is wrong with the answer?}
    Q -->|Vague or generic| D1[Dial 1: improve the prompt and context]
    Q -->|Missing your facts or out of date| D2[Dial 2: ground it - RAG, paste, search]
    Q -->|It cannot act, or must follow a procedure every time| D4[Dial 4: tools, MCP, connectors, skills]
    Q -->|Needs its own style, a tiny model, or full control at scale| D3[Dial 3: fine-tune or use an open model]

Analogy: onboarding a new employee

Dial What you do for the new colleague AI term
1 Give clear instructions and examples Prompt engineering / context
2 Hand them the right manual and files Grounding / RAG
3 Send them on a training course Fine-tuning
4 Give them system access and written procedures Tools, MCP, connectors, plugins, skills

Dial 1: Prompt engineering and context

What it changes: the instructions and information the model sees right now. It is the model's working memory, called the context window.

Techniques that work for everyone:

Technique Example
5-box prompt: Role, Context, Task, Format, Check "Act as an HR coordinator... Write... max 120 words... Do not invent dates."
Show an example (few-shot) "Here is a reply I like. Write in the same style."
Ask for steps first "List your assumptions, then give the answer."
Constrain "Maximum 150 words. Plain language. No jargon."
Ask for questions first "If anything is unclear, ask me up to 2 questions before you start."
Iterate "Shorter. Put the risk first."

Settings (mostly in developer tools): system prompt (standing job description), temperature (low is predictable, high is creative), maximum length.

Effort and cost: minutes, free. Try it: Lab 1, Lab 3.

Dial 2: Grounding with RAG (retrieval-augmented generation)

What it changes: the facts the model can use. A model only knows what it learned in training. It does not know your policies, today's news or your files.

RAG = an open-book exam.

flowchart LR
    D[Your documents] --> C[Cut into chunks]
    C --> E[Store by meaning: embeddings in a vector database]
    Q[Your question] --> S[Find the most relevant chunks]
    E --> S
    S --> P[Add the chunks to the prompt]
    P --> A[AI answers from them, with sources]

Plain-language glossary: a chunk is a short passage. An embedding is a list of numbers that captures the meaning of text, so that similar meanings are close together. A vector database stores those numbers and finds the closest ones fast.

Benefits: fresher, private and checkable answers, fewer hallucinations, no retraining. Limits: only as good as your documents and the search. If the right passage is not found, the answer is still weak.

The same idea at every scale:

Scale How you do it
By hand Paste the text into the chat: "Answer only from this text and quote it" (Lab 2)
Workspace Add files to a Project or equivalent so the assistant can refer to them
Web Turn on web search so the answer is grounded in sources you can click (Lab 5)
Company An internal assistant searches the organisation's documents (this is where the vector database lives)

Ground truth: the trusted source you check answers against. RAG makes the AI point to it. You still verify.

Dial 3: Fine-tuning and open models

What it changes: the model itself. Fine-tuning continues the model's training on your examples, which nudges its internal numbers (weights or parameters).

Fine-tuning
Good for A consistent tone or format at scale, narrow specialist behaviour, making a small cheap model good at one job
Not good for Teaching new facts (use RAG), or quick experiments
Needs Hundreds to thousands of good examples, compute, skills, evaluation, and re-doing it when the base model changes
Lighter variants LoRA and similar methods change only a small part of the model, which is cheaper

Open-weight (often called open-source) models can be downloaded and run on your own hardware, which allows full customisation, privacy and control. The price is hardware, expertise and maintenance. Examples of families are Llama, Mistral, Gemma and Qwen, among others.

Effort and cost: days to weeks, real money. For most people and most tasks it is not the first step. Mention it so you know it exists, and know who to ask (ML and infrastructure engineers).

Dial 4: Tools, MCP, connectors, plugins and skills

What it changes: what the model can do and the procedures it follows.

Piece What it is Example
Tool An action the AI can call Search the web, run a calculation, read a file
MCP (Model Context Protocol) An open standard for plugging tools and data into AI, "USB-C for AI" One connector design that many assistants and apps can use
Connector A ready-made plug to an app Calendar, drive, email, project tracker
Plugin A bundle of skills, tools and connectors for a job (on some plans) A "sales" or "legal" bundle
Skill A folder with a SKILL.md instruction file the AI loads when your request matches "Turn meeting notes into actions"

DevOps and application engineers connect models to tools with APIs and MCP. End users get the same abilities as ready-made connectors and skills.

Safety rules for dial 4: connect only what you need, give read-only access first, require human approval for anything that sends, spends or deletes, and only install skills and connectors from sources you trust and have read. Try it: Lab 5 and Lab 6.

Putting it together: an example

"Answer staff questions about our equipment policy."

  1. Prompt (dial 1): role, tone, answer format, "ask if unclear".
  2. Ground (dial 2): the policy text, so answers quote it.
  3. Skill (dial 4): "policy-answer" skill so every answer has the same structure and "Not in the policy" rule.
  4. Tool (dial 4): a connector to the staff portal to see the real booking.
  5. Fine-tune (dial 3): only if, at scale, you need a cheap model with a very specific voice.

Summary table

Dial Changes Effort Cost When
1 Prompt and context The instructions now Minutes Free Always first
2 Grounding (RAG) The facts available Minutes to days Low Private, fresh or checkable facts
3 Fine-tune / open model The model's weights Days to weeks High Style at scale, small models, full control
4 Tools, MCP, skills What it can do and the procedures Minutes to days Low to medium Repeated tasks, actions in other apps