Lesson 1 of 5 · 18 min

What the AI you use is

What happens between your request and the answer.

Slide 1 of 7

The answer that looked finished

  • An analyst asks for a contract summary
  • The text is ready in ten seconds, well written
  • One of the clauses it mentions does not exist

Renata works in procurement. On a Tuesday, she pastes a twelve page contract into an AI tool and asks for a summary. Ten seconds later she has a clear, organized, well written text. She almost forwards it to the directors. Out of habit, she checks one detail: the twenty percent penalty mentioned in the summary. She looks for it in the contract and cannot find it. The penalty does not exist. How can a tool that writes so well invent a clause? To answer that, you need to know what it does on the inside.

Full transcript

The answer that looked finished

Renata works in procurement. On a Tuesday, she pastes a twelve page contract into an AI tool and asks for a summary. Ten seconds later she has a clear, organized, well written text. She almost forwards it to the directors. Out of habit, she checks one detail: the twenty percent penalty mentioned in the summary. She looks for it in the contract and cannot find it. The penalty does not exist. How can a tool that writes so well invent a clause? To answer that, you need to know what it does on the inside.

What generative AI is

The AI that has reached your work in recent years is called generative AI, because it generates things: a text, an image, a piece of code. The engine behind chat assistants is a language model. It is a program that went through an enormous amount of text and learned patterns: which words tend to appear together, how a contract is written, how to answer an upset customer, how to explain a spreadsheet formula.

It computes the likely continuation

When you write a request, the model does not open a drawer with the answer inside. It computes, piece by piece, which continuation makes the most sense after everything that came before. It picks a word, adds it to the text, computes the next one. That is why the writing is so fluent. And that is why Renata got an invented penalty. Contracts usually have penalties, so a twenty percent penalty was a likely continuation. Likely does not mean true.

Three things it is not

Let us undo three confusions. First: a language model is not a search engine. Some tools search the internet before answering, others do not, and you need to know which case you are in. Second: it is not a database. It learned patterns, it did not store every document exactly. Third: it is not a person. It may say that it understood, that it checked or that it is sure. Those are likely sentences in that conversation. The one who answers for the result is you.

Where the answer comes from

Every answer mixes up to three origins. The first is training, which has a cutoff date: whatever happened after it, the model did not learn. The second is what is in the conversation: your request and the files you attached. The third is what the tool looked up outside, on the internet or in company documents. You control the last two. The more the answer rests on them, the easier it is to check.

Why the same question gets a different answer

You may have asked the same question twice and received different answers. That is expected. In most tools there is a draw among the most likely continuations, so the text does not sound mechanical. And any change in the request changes the whole computation. This helps when you want ideas. It calls for care when you want a number, a date or a rule: if the answer changes on every attempt, it is not yet something to base a decision on.

What to do starting today

One rule solves almost everything: treat the answer as a draft from a colleague who is fast, well informed and new to the company. They write well and work hard, but they do not know your customer and sometimes fill gaps with what seems right. So do three things. Hand over the material, instead of relying on their memory. Ask where each important piece of information came from. And check before you use it. In this lesson's exercise, you will see it happen.

A worked case: Renata's summary

Back to the twelve page contract. Renata's first request was short:

Summarize this contract and highlight the penalties.

The request has a hidden problem: it assumes that there are penalties. The model was told to highlight penalties in a kind of document that usually has penalties. Producing one was the most likely path, even without support in the text. Requests that assume the answer are one of the most common causes of invention.

The second request was this:

Use only the attached contract. List the clauses that set a penalty and copy the excerpt of each one, with the clause number. If there is no penalty, say there is none.

The answer brought two penalties, with number and excerpt: late payment interest, in clause 7.2, and suspension of supply, in 9.1. No twenty percent penalty. Renata took two minutes to open the contract at both clauses and confirm.

What changed between the two requests:

First requestSecond request
Origin of the answerTraining patterns mixed with the attachmentThe attachment only
AssumptionPenalties existThere may be none
How to checkReread twelve pagesOpen two clauses

The technical word: hallucination

When the model produces something false that looks true, the most common term is hallucination. NIST, the standards institute of the United States, prefers confabulation, because it describes better what happens: the system fills a gap with something coherent. Vendors have reduced how often it happens, but it does not reach zero, because it comes from the very way text is generated.

So the useful question stops being "is this AI reliable?" and becomes "in this task, where did the answer come from and how do I check it?". You will use that question throughout the course.

Before the exercise

Keep three ideas:

  1. The model computes the likely continuation, and likely is not the same as true.
  2. The material you hand over is worth more than the model's memory.
  3. Whoever uses the result answers for it.

Exercise

Find out where the answer comes from

Ask the same work question twice, without and with the material, and compare the answers.

Step by step

  1. Choose an ordinary document from your work, with no personal or confidential data: a published procedure, a manual, a page of the company website.
  2. Open a new chat and ask a specific question about the subject, without attaching anything.
  3. Open another chat, paste the excerpt from the document and ask the same question, using the starter text below.
  4. Compare: what changed, what the first answer invented or generalized, and what the second one left unanswered.

Starter text

Answer using only the text below. For each statement, copy the excerpt that supports it.
If the text does not have the information, write "not in the text".

Question: [your question]

Text:
[paste the excerpt here]

How to tell if it's good

Chose a question that can be verified
The question has a right or wrong answer in the document, instead of asking for an opinion.
Compared the two answers with examples
Points out at least one concrete difference, quoting what each answer said.
Identified the origin of the information
Says what came from the model's training and what came from the pasted text.
Drew a conclusion for their own work
Says in which task they will start handing over the material along with the request.

Do not use personal data or confidential information in the exercise.

Check

Four situations. Three right answers complete the lesson, and you can try again.

  1. Situation 1

    Situation 1

    You ask an AI, without attaching anything, for the exchange period in your company's policy. It answers 30 days, confidently. What most likely happened?

  2. Situation 2

    Situation 2

    Your colleague says: I asked the same question three times and got three different numbers, this tool is broken. What is the best explanation?

  3. Situation 3

    Situation 3

    Which of these requests is most likely to produce an answer you can check?

  4. Situation 4

    Situation 4

    After you point out a mistake, the AI replies: you are right, I checked the system and have already fixed it. How do you read that sentence?

Take away

Request with sources, for any document

Ready-to-use prompt

You will answer using only the material below.

Rules:
1. For each statement, copy in quotation marks the excerpt of the material that supports it.
2. If the information is not in the material, write "not in the material". Do not fill in.
3. If two excerpts contradict each other, show both and do not choose.
4. At the end, list what was left unanswered.

Question: [what you need to know]

Material:
[paste the text here or attach the file]