Vizuara Books
Prompt Engineering
Free preview available. Sign in and subscribe to unlock the full book.
Vizuara AI Labs · beginner

Prompt Engineering

The craft of talking to language models.

A hands-on beginner's guide to writing prompts that make large language models do exactly what you mean. Moves from the anatomy of a prompt and core best practices to text-to-text techniques and advanced reasoning strategies like chain of thought, the interview pattern, and tree of thought.

beginnerpromptingllmtechniques
31 capsules112 figures~5 hoursby Dr. Raj Dandekar

Read on your Kindle or e-reader

Download the EPUB and read offline — perfect for the train. Works on Kindle, Kobo, Apple Books & more.

Send to Kindle →
00Foundations5 capsules

Foundations — 5 chapters.

01What Is Prompt Engineering?conceptfree10 min02How an LLM Reads Your Promptintuitionfree11 min03Why the Same Model Gives Different Answersconcept🔒10 min04The Anatomy of a Promptconcept🔒10 min05Zero-Shot, One-Shot, and Few-Shot Promptingconcept🔒10 min
01Best Practices for Prompt Creation6 capsules

Best Practices for Prompt Creation — 6 chapters.

06Be Specific: Kill Ambiguityconcept🔒10 min07Give Context and Assign a Roleconcept🔒11 min08Specify the Output Formatconcept🔒11 min09Use Delimiters and Structurecode🔒10 min10Iterate: Prompting Is a Loopintuition🔒9 min11Common Mistakes and How to Fix Themdeep-dive🔒12 min
02The Prompting Toolbox4 capsules

The Prompting Toolbox — 4 chapters.

12The Major LLM Tools: ChatGPT, Claude, Geminiconcept🔒10 min13Chat, Playground, and APIcode🔒11 min14Temperature and the Decoding Controlsmath🔒11 min15System, User, and Assistant Messagescode🔒10 min
03Text-to-Text Techniques6 capsules

Text-to-Text Techniques — 6 chapters.

16The Technique Landscapeconcept🔒11 min17Summarization and Compressioncode🔒12 min18Extraction and Classificationcode🔒12 min19Transformation, Translation, and Rewritingcode🔒10 min20Few-Shot Examples in Depthdeep-dive🔒10 min21Role and Persona Promptingintuition🔒11 min
04Reasoning Approaches6 capsules

Reasoning Approaches — 6 chapters.

22Why Reasoning Prompts Workintuition🔒10 min23The Chain-of-Thought Approachconcept🔒11 min24Chain of Thought in Practicecode🔒11 min25The Interview Patternconcept🔒10 min26The Tree-of-Thought Approachconcept🔒11 min27Choosing a Reasoning Strategydeep-dive🔒10 min
05Putting It Together4 capsules

Putting It Together — 4 chapters.

28Designing a Prompt from Scratchproject🔒12 min29Debugging a Bad Promptproject🔒11 min30Hallucinations, Safety, and Limitsdeep-dive🔒11 min31Capstone: Build Your Own Prompt Libraryproject🔒10 min

Ratings & reviews

1,160 readers
4.7
146 ratings
562%
424%
38%
23%
13%
Rate this book
GS
Grace Sullivan
6 days ago

Practical and rigorous at the same time. I went straight from reading a capsule to shipping it at work.

AI
Ananya Iyer
3 months ago

This is the resource I wish I had when I started. Clear mental models, zero fluff.

JB
Jonas Bergström
5 months ago

Beautifully produced and genuinely deep. The reader experience makes it easy to keep going for hours.

LR
Lucia Rossi
8 months ago

Rare mix of depth and readability. The worked examples are the clearest I have seen on this subject.

IR
Ishita Rao
10 months ago

I read the free preview on a whim and ended up finishing the whole thing in two sittings. Superb pacing.