Loading lesson...

Chain 3 prompts together — Maîtrise de l'étude avec l'IA

Module 4: Writing better prompts — AI is just a tool. I'll show you how to write prompts that actually get you what you want.

Why should you split a massive task into 3 chained prompts instead of 1 giant mega-prompt?
Because the AI's math engine gets confused by too many instructions at once and will likely forget rules. — Too many constraints in one prompt overloads the context window's attention.
What is the correct logical chain for writing an essay with AI?
1. Brainstorm ideas -> 2. Create an outline -> 3. Draft the sections one by one. — You generally have to agree on the skeleton before adding the meat.
If you are asking the AI to summarize a massive 50-page PDF across multiple messages, what is the best first prompt to send?
"I am going to send you text in parts. Wait for me to paste all parts and say 'GO' before doing anything else." — You need to instruct the AI to "hold its breath" until it has all the context.
When writing a blog post with AI, why should you ask for an outline first before asking it to write the paragraphs?
So you can course-correct the structure before the AI wastes time writing the whole thing poorly. — Chaining gives you checkpoints to fix errors before they cascade.
What is the primary risk of using one massive 'megaprompt' for a complex task?
The AI's attention mechanism gets overloaded and it will simply 'forget' your first few instructions. — Language models have an 'attention span' and struggle to track 20 rules simultaneously.
If you want the AI to analyze sales data and then graph it, what is the best chaining strategy?
Prompt 1: Analyze the data. Prompt 2: Write the code to graph the analysis. — Separate distinct jobs (analysis vs acting on the analysis) into distinct steps.
True or False: Prompt Chaining requires you to open a brand new chat window for every single step.
False — Chaining works best in the same window so the AI remembers the previous steps as context. — The AI's 'Context Window' allows it to remember the chain as long as it stays in one thread.
When asking AI to brainstorm, select, and develop a marketing idea, which step comes last in the chain?
Developing the specific details of the single chosen idea. — Development and execution always happen after ideation and selection.
What should you do if one prompt in your chain produces a bad result?
Correct that specific mistake in the very next prompt before moving on to the next major step. — Chaining allows you to iteratively fix small things instead of throwing away the whole project.