PTENES
MODULE 1.2

🧩 How AI thinks β€” the bare minimum

Understand the basic mechanics of artificial intelligence without becoming a technical expert. Knowing how it works dramatically improves the results you get.

6
Topics
35
Minutes
Basic
Level
Theory
Type
0 of 60%
1

🧩 Tokens, context, and window

AI doesn’t read words the way we do. It splits text into chunks called tokens (a token is approximately 3/4 of a word in Portuguese). The phrase "Good morning, how can I help?" has about 8 tokens. This matters because AI has a limit on how many tokens it can process at once.

CONTEXT WINDOW (total limit) Your instruction (prompt + context) input tokens + AI response (generated text) output tokens LIMIT

A context window and the AI's β€œworking memory.” Everything you write AND everything it replies needs to fit in this window. When the conversation gets too long, the AI starts to β€œforget” what was said at the beginning. That's why new conversations about different topics work better than one endless conversation.

4k
GPT-3 (2020)
~3 pages
128k
GPT-4o (2024)
~100 pages
200k
Claude (2024)
~1 whole book

πŸ’‘ In practice

If you're using AI to review a long contract and then ask it to write an email about something else in the same conversation, the contract will "fall out" of the context window. Start a new conversation for each different task.

2

🎭 Persona and tone

A persona and the β€œrole” you assign to AI. When you say β€œyou are a tax attorney with 20 years of experience,” the AI adjusts its vocabulary, level of detail, and tone to match that persona. The more specific the persona, the better suited the result.

βœ“ With a defined persona

"You are a cardiologist explaining test results to a layperson."

Result: accessible language, a welcoming tone, everyday analogies.

βœ— Without a persona

"Explain the results of this test."

Result: technical language and a generic tone may confuse the patient.

Prompt to try now

You are a [YOUR PROFESSION] with [X] years of experience.

Your tone is [formal/warm/direct/technical].

Explain [CONCEPT IN YOUR FIELD] to a client with no specialized knowledge.

Use no more than 100 words and avoid jargon.

3

πŸ“ Prompt and Instruction

Prompt is the technical term for the instruction you give AI. It can be a short sentence ("summarize this document") or a detailed paragraph with context, the desired format, and constraints. The golden rule: the clearer and more specific the prompt, the better the result.

Bad
"Write an email."

Too vague. The AI doesn't know who it's for, what it's about, or what tone to use.

OK
"Write an email to a client about the delayed opinion."

Better, but it needs tone, length, and context details.

Good
"Write a professional, cordial email to the client, Mr. Marques, explaining that the tax opinion is 3 days late because it depended on additional documentation. Offer a new delivery deadline of Friday. 120 words maximum."

Be specific: recipient, context, reason, action, format.

Who
Who the text is for
What
What is the task
How
Tone and format
How much
Size and limit
4

πŸ”„ Iteration β€” refining is part of the process

Iteration is the process of refining AI’s output by asking for adjustments. The first response is rarely perfect, and that’s normal. Professionals who iterate get significantly better results than those who accept the first version.

πŸ”„ Iteration phrases that work

"Good, but more formal."
"Cut it down to half the length."
"Keep the structure but replace the examples with tax law cases."
"The second paragraph was vague. Rewrite it with specific data."
"Great. Now adapt the same content for a LinkedIn post."

First attempt

"Write a business proposal for my firm."

Result: generic, impersonal, with no firm data.

After 3 iterations

"More formal. Add our 24-hour service differentiator. Replace the numbers with actual data from the last quarter."

Result: personalized, persuasive, ready to send.

πŸ’‘ The right mindset

Think of AI as an automatic first draft. You wouldn't accept an intern's first draft without reviewing it. It's the same with AI: the value is in refinement cycle, not in the first response.

5

βš–οΈ Hallucination β€” when AI makes things up

Hallucination is the technical term for when AI generates false information with complete confidence. It may cite a law that doesn’t exist, invent case law, fabricate research data, or create a fake bibliographic reference. All with the same fluency as genuine text.

⚠️ Real examples of hallucinations

  • βœ—Lawyers in the U.S. cited fake case law generated by ChatGPT in an actual court filing (Mata v. Avianca case, 2023)
  • βœ—AI made up numbers for Brazilian law articles that don't exist
  • βœ—Fabrication of scientific studies with fictional authors, journals, and DOIs
  • βœ—Invented statistical data with seemingly credible sources

βœ“ How to protect yourself

  • βœ“Always verify citations, laws, and data against the primary source
  • βœ“Ask AI to provide the sources (and check that they exist)
  • βœ“Use AI for drafts, never as a final version without review
  • βœ“Be wary of data that is overly precise or too convenient

βœ— Signs of hallucination

  • βœ—Law article numbers in an unusual format
  • βœ—Citations from authors you’ve never heard of
  • βœ—Statistical data with no verifiable source
  • βœ—Information that seems "too good to be true"
6

πŸ›‘οΈ Privacy and data

As an independent professional, you deal with confidential information of clients every day. Before using any AI, you need to understand what happens to the data you enter. The good news: there are safe ways to use AI without compromising professional confidentiality.

πŸ›‘οΈ Golden rules for privacy

  • β€’Always anonymize: replace real names with fictional ones ("Client A," "Dr. Silva")
  • β€’Never paste CPF, RG, or banking information or information that identifies a person
  • β€’Use paid plans (ChatGPT Plus, Claude Pro): they don't use your data to train the model
  • β€’Disable history if you're using the free version (option in settings)
  • β€’When in doubt, don't share. Ask AI to work with a similar hypothetical case

Safe prompt for reviewing documents

Review the contract below. Names and amounts have been anonymized.

CLIENT: Company Alpha

CONTRACTOR: Company Beta

VALUE: R$ XXX.XXX,XX

[paste the anonymized text here]

Identify clauses that could pose a risk to the Contracting Party.

πŸ’‘ LGPD and AI

The General Data Protection Law (LGPD) applies to the use of AI. You are the controller of the data you share with the platform. The AI provider is the operator. Responsibility for the proper use of your clients' data is your.

βœ“ Module Summary

βœ“
Tokens and context window define the boundaries of the conversation with the AI
βœ“
Persona and tone control how the AI communicates
βœ“
Clear prompts produce better results (who, what, how, how much)
βœ“
Iteration is normal and necessary (refining improves the result)
βœ“
Hallucinations are real and dangerous (always verify data and citations)
βœ“
Privacy and your responsibility (anonymize, use paid plans, comply with LGPD)

Next Module:

1.3 - Choosing your tool β€” ChatGPT, Claude, Gemini