Detailed content
🪟 Context window
Every time you send a message, the model rereads everything in the conversation: the instructions, the files you attached, previous messages, and your new question. All of that has a size limit. It’s the context window. What fits in it, the model can see. What falls outside it doesn’t exist to the model.
🌱 New here?
Remember Module 1.1: the model reads text in tokens, pieces of words. The window is measured in tokens, not pages. In Portuguese, a word usually becomes one or two tokens. In 2026, large models accept hundreds of thousands of tokens, and some exceed a million—enough for several books. The exact number changes with each release; the concept stays the same.
What it is
The context window is the maximum amount of text the model considers at once in a conversation—the question, history, files, and the model’s own response combined. It works like a person’s working memory: large, but finite.
✓ Use the window well
- ✓Start a new conversation for each topic.
- ✓Repeat important rules close to your question.
- ✓Include only the parts of the document that matter for the task.
- ✓Start the next conversation with a summary of the previous one.
✗ Waste the window
- ✗Use one conversation for everything over several weeks.
- ✗Paste in ten files “just in case.”
- ✗Trust that it remembers what you said 200 messages ago.
- ✗Assume a large window guarantees careful reading.
A large context window doesn’t mean every detail gets equal attention. With very long texts, models tend to give less weight to details buried in the middle. The practical solution is simple: tell the model where to look (“in section 4 of the contract”) and ask it to quote the passage it used. When the conversation gets very long, use the prompt below to create a “context packet” and continue in a new conversation.
Goal: carry the essentials of a long conversation into a new conversation without losing decisions.
This conversation has gotten long, and I’m going to continue in a new conversation. Write a CONTEXT PACKET for me to paste there, including: 1. The goal of the work (1 sentence). 2. Decisions already made (a short list, with the reason for each). 3. Rules that must always be followed (tone, format, what to avoid). 4. Facts and numbers we used, marked [CONFIRMED] or [TO CHECK]. 5. What remains to be done, in order. Don’t make anything up that isn’t in this conversation. Maximum 300 words. Conversation topic: <summarize in one line>
How to check: read the packet and look for a decision you remember making. If it isn’t there, ask for it to be added. Then paste the packet into a new conversation and ask “what’s the next task?” — the answer should match item 5.
Why learn
Many poor answers that people blame on “stupid AI” come from confusing conversations: mixed topics, rules forgotten outside the context window, too many files. Understanding the context window helps you organize your work into clean conversations, improving quality without switching tools.
Key concepts
📚 Chat with your documents
The model knows a lot about the world, but it knows nothing about your company: your catalog, team handbook, contracts, and the questions customers ask most often. The solution isn’t to train a new model. It’s to give the model the right passages from your documents when you ask a question—and ask it to answer based only on them.
🌱 New here?
RAG (from Retrieval-Augmented Generation, generation augmented by search) is the technical name for this idea: first retrieve the relevant passages, then generate the answer from them. You don’t need to build anything to use this: ChatGPT and Claude “projects,” Gemini Gems, and Google’s NotebookLM already do this when you upload files.
What it is
It means having AI consult your files before answering: the system splits the documents into passages, finds the ones related to the question, and gives those passages to the model along with the question. The answer is then based on your own material, with the source identified.
| Where to do it | Good for | Caution |
|---|---|---|
| Attach to the conversation | One or a few files, a specific question. | Disappears when the conversation ends. |
| Projects / Gems | Files you use every week, with saved instructions. | Update them when the document changes. |
| NotebookLM | Study a set of sources, with clickable citations. | Answers only about the sources you uploaded. |
| Custom system (Track 2) | Thousands of documents, customer support. | Requires a technical team and care with LGPD. |
Try this: attach one of your documents (handbook, policy, contract) and ask questions that require sources.
Use ONLY the attached document to answer. Rules: - For each claim, quote the exact passage and identify the section or page. - If the answer isn’t in the document, write “I couldn’t find it in the document” and stop. - Don’t fill in gaps with general knowledge. My questions: 1. <a question you know the answer to, for testing> 2. <a question you want to find the answer to> 3. <a question whose answer is NOT in the document, for testing>
How to check: the answer to question 1 should match what you already know; use Ctrl+F to find the quoted passage in the file. Question 3 should get the answer “I couldn’t find it.” If the AI makes up an answer to it, don’t trust this workflow without manual review.
Why learn
This is one of the biggest time-savers in everyday work: finding a clause, answering a customer’s question using the right policy, studying a public call for proposals. It also does the most to reduce made-up answers, because the response points to its source. Before pasting customers’ personal data, remember LGPD (Brazil’s data protection law): use accounts with appropriate terms of service, and anonymize the data when you can.
Key concepts
🧭 Search by meaning
How does the search in the previous topic know that the passage “return period” answers the question “can I exchange the item?” when the words are different? It doesn’t compare words; it compares meanings. Each passage becomes a list of numbers representing its meaning—and texts with similar meanings get similar numbers.
🌱 New here?
Embedding it’s this list of numbers that represents the meaning of a text (or an image). Imagine a map: each text becomes a point, and nearby points describe similar things. Semantic search means searching for the neighbors of the point representing your question. Vector database is the file that stores these points so searches can be fast.
What it is
Meaning-based search finds information by the sense of your question, even when the words don’t match. It’s what makes “chat with your documents,” product recommendations, and internal search in many systems work.
🔤 Keyword search
Finds “bill” only when you type “bill.” Great for exact codes, names, and numbers.
🧭 Meaning-based search
Finds “overdue invoice” when you ask “past-due bill.” Great for questions in natural language.
🔀 Hybrid search
Combines both. Good systems use it so they don’t miss either the meaning or the exact number.
💡 Tip
When “chat with your documents” gets something wrong, the search is often to blame, not the model. Try rephrasing the question using words from the document itself, or point to the section. If that helps, you’ve found the problem.
Why learn
You won’t program embeddings in Track 1, but knowing they exist explains why AI sometimes finds the right answer using different words—and why it sometimes returns a similar but incorrect passage. With that knowledge, you can ask better questions and know what to expect from a vendor promising “AI trained on your documents.”
Key concepts
🧠 Reasoning models
Since 2024, leading assistants have gained a second way to respond. In standard mode, the model writes the answer all at once. In reasoning, it first writes an internal draft: breaking the problem into steps, testing approaches, checking calculations, and only then answering. In tools, this may appear as “think,” “extended thinking,” “reasoning,” or an effort selector.
What it is
A reasoning model spends more time and tokens planning, trying, and checking before it answers. It performs better on problems with multiple steps—calculations, logic, planning, code—and is slower and more expensive for simple tasks.
✓ Turn on reasoning for
- ✓Calculations, budgets, and comparing proposals.
- ✓Planning a project with many dependencies.
- ✓Analyzing a contract for risks.
- ✓Solving a problem that has already gone wrong once.
✗ You don’t need it for
- ✗Rewriting an email in a friendlier tone.
- ✗Translating a paragraph or correcting Portuguese.
- ✗Coming up with title or caption ideas.
- ✗Simple factual questions (for facts, use web search).
Try this: run the same problem in fast mode and reasoning mode, then compare.
I have two proposals and need to choose one. Proposal A: <price, timeline, what’s included, penalty, payment method> Proposal B: <price, timeline, what’s included, penalty, payment method> My situation: <budget, urgency, what’s nonnegotiable> 1. Make a table comparing them item by item. 2. Calculate the total cost of each over 12 months and show the math step by step. 3. List the risks of each. 4. Recommend one, and say in what situation the other would be better. 5. At the end, redo the calculations from item 2 and say whether you found any errors.
How to check: redo one of the calculations with a calculator. Compare the two versions: reasoning mode usually shows more steps and catches more details, but what matters is that the math checks out. If the two versions disagree, that disagreement shows exactly what you need to look at.
Why learn
Choosing the right mode saves time and money: using reasoning for everything makes every answer slow; using fast mode for everything means you’ll get wrong calculations on difficult problems. Knowing when to turn on “think” is one of the simplest decisions with the biggest impact on daily use.
Key concepts
👁️ See, hear, and speak
The assistants of 2026 are multimodal: beyond text, they accept photos, screenshots, scanned PDFs, audio, and, in some cases, video—and hold real-time voice conversations. In practice, this replaces a lot of typing with a simple action: take a photo of the receipt, show the error on your screen, or record the meeting.
What it is
Multimodal means a model can understand and produce more than one type of content in the same conversation: you show it an image and ask a question by text, or speak and hear the response. The model “reads” the image the same way it reads words, turning it into pieces it can process.
🧾 Document photo
Invoice, prescription, bill, license plate: extract data into a table.
🖥️ Screenshot
Error message, spreadsheet, dashboard: “what does this mean?”.
📈 Chart
Ask it to read a chart and draw conclusions, including the numbers it read.
🎙️ Audio
Transcribe and summarize meetings, classes, and voice messages.
🗣️ Voice conversation
Practice a presentation, practice another language, think out loud.
📷 Live camera
Show it a piece of equipment and ask for step-by-step instructions.
Try this: take a photo of one of your invoices or receipts and attach it with this request.
Read the attached image (invoice or receipt). Create a table with: Date | Business | Item | Quantity | Unit price | Total. Then: 1. Add up the item amounts and compare the sum with the total printed on the receipt. 2. Mark any field you could not read with certainty as [ILLEGIBLE]. 3. Do not infer amounts that do not appear in the image. Expense category I want to use: <e.g., food, office supplies>
How to check: Check three rows in the table against the photo, and compare the sum from item 1 with the printed total. If the sum doesn’t match and the AI doesn’t flag it, it misread a number. Crooked or shadowy photos increase errors: retake the photo before blaming the model.
💡 Tip
Before sending a screenshot or a photo of a document, check what else appears in it: client names, CPF, bank balance, other people’s conversations. Crop the image to include only what’s needed. LGPD (Brazil’s data protection law) also applies to images.
Why learn
A lot of office work involves copying information from paper or a screen to somewhere else. Multimodal AI does the first pass of that work in seconds, and voice makes AI available when your hands are busy. You’ll see the benefit in the first week—as long as you check the numbers.
Key concepts
💻 AI on your computer
ChatGPT, Claude, and Gemini run on company servers: what you type travels over the internet. There’s another option: download an open model and run it on your own computer. Free programs like Ollama e o LM Studio make installation feel like installing any other app.
🌱 New here?
Open model is a model whose company has made its file available for download, like the Llama, Qwen, and Gemma families. Run locally means using that file on your computer without sending anything outside it. Memory (RAM or video memory) is the main limitation: larger models need more memory; smaller ones run on ordinary laptops, more slowly and with lower quality than the large cloud models.
What it is
Local AI is a language model running on your own computer. Your data stays on the computer, it works without internet, and there’s no monthly fee. In return, models that fit on an ordinary computer are smaller and make more mistakes than the large cloud services.
Step 1. Download Ollama from the official website (ollama.com) and install it like any other program. Windows and Mac have an installer; on Linux, the site shows a command.
Step 2. Open Terminal (Mac/Linux) or Command Prompt (Windows) and paste the command below. The first time, it downloads the model, which takes a few minutes.
Step 3. When you see the >>> prompt, type your question. To exit, type /bye.
Step 4. Turn off Wi-Fi and ask again. If it responds, you have an AI that works without internet.
Try this: run a small, free model on your computer (after installing Ollama).
ollama run llama3.2 # when >>> appears, paste: Summarize the following text in 3 bullet points and say what the most urgent action is: <paste your own text here, such as a long email or meeting minutes>
How to check: run the command ollama list and check which model is installed. Paste the same text into a cloud assistant and compare the two summaries: the local one tends to be simpler, and you can decide whether it’s enough for this kind of task. If your computer gets very slow, switch to a smaller model.
Why learn
Some tasks involve data that can’t leave your organization: medical records, legal cases, clients’ financial data. For these, local AI is an option that protects privacy while still providing help. Knowing it exists also means you don’t depend on a single company—if a service changes its prices or rules, you have an alternative.
Key concepts
🧰 Which resource to use
With so many options, it’s tempting to use the most sophisticated one. The approach that works is the opposite: start with the simplest and move up only when it fails. A good prompt handles most cases. Documents come in when the answer depends on your own information. Reasoning comes in when there are multiple steps. Local AI comes in when information is confidential.
What it is
A way to decide which resource to use for each task, based on three questions: Does the answer depend on my information? Does the problem have multiple steps? Could the data leave my computer?
| Situation | Resource | Example |
|---|---|---|
| General task, common knowledge | Good prompt (Module 1.3) | Rewrite an email, generate ideas. |
| Depends on your files | Documents / projects | Answer based on company policy. |
| Recent facts | The tool’s web search | New rules, current prices. |
| Multiple steps, calculations, logic | Reasoning mode | Compare proposals, plan. |
| Photo, screen, audio | Multimodal | Extract data from invoices. |
| Confidential data | Local AI | Summarize internal documents. |
| Consistent style at high volume | Fine-tuning (Track 2) | Thousands of responses in the same format. |
🌱 New here?
Fine-tuning (fine-tuning) is training a ready-made model a little further with hundreds or thousands of your examples, so it can learn a format or a style. It’s for teaching how to do things, not teaching facts: for facts that change, documents (Topic 2) work better and cost less. When in doubt, don’t start here.
Goal: choose the right resource for three real tasks from your work.
You’re a consultant who helps people without a technical background use AI at work. These are the resources available to me: - simple prompt - chat with documents (projects, NotebookLM) - web search - reasoning mode - input by photo, screen, or audio - local AI on my computer (Ollama) My tasks: 1. <task 1, with frequency and type of data> 2. <task 2> 3. <task 3> For each task, respond in a table: Task | Simplest resource that works | Why | Risk (privacy, errors) | 10-minute test If you need more information about any task, ask before responding.
How to check: for each task, recommend the simplest resource that can do the job, not the most sophisticated one. If a task involving customer data has no risks listed, ask me to reassess privacy. Run one of the 10-minute tests today.
💡 Tip
Resource names change: today’s “project” may become tomorrow’s “space,” and the reasoning button may become automatic. Remember the three questions — my information, multiple steps, confidentiality — and you’ll recognize the right resource in any tool.
Why learn
When you know how to choose the right resource, you spend less, make fewer mistakes, and avoid falling for a vendor’s promise to sell you “AI trained just for you” when a project with documents would do the job. It’s also the foundation for the next module, where you turn this knowledge into value for others.
Key concepts
✅ Module summary
Next module:
1.9 — AI Business and Monetization 💼