Introduction to Prompting › Practical Examples Throughout

Michael BrenndoerferJune 15, 20251 min read
AI Agent HandbookAll chapters
Part 3 of 15Prompting - Communicating with Your AI
Chapter 6Introduction to Prompting › Practical Examples Throughout
Reading section 7 of 10 · Practical Examples Throughout · 1 minSection 7 of 10 · 1 min

Book contents

Section 7 of 10 · 1 min read

Introduction to Prompting › Practical Examples ThroughoutOne section · Sections in this chapter7 / 10 ↓

This chapter is built around practical examples you can try yourself. We'll show you real prompts, real responses, and real improvements. You'll see code examples using GPT-5 (OpenAI's latest model, ideal for basic prompting and text generation), and we'll walk through the reasoning behind each design choice.

As you read, I encourage you to experiment. Take the examples and modify them. Try different phrasings. See what works and what doesn't. The fastest way to get good at prompting is to do it, observe the results, and iterate.