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 capsules143 figures~7 hoursby Dr. Raj Dandekar

Read on your Kindle

We'll send this whole book straight to your Kindle — it opens natively, so you can resize the text, read fully offline, and it remembers where you left off. Nothing to download or manage.

Sending to Kindle is for subscribers — subscribe to read the whole library on your Kindle.

00Foundations5 capsules

Foundations — 5 chapters.

01What Is Prompt Engineering?concept12 min02How an LLM Reads Your Promptintuition13 min03Why the Same Model Gives Different Answersconcept12 min04The Anatomy of a Promptconcept12 min05Zero-Shot, One-Shot, and Few-Shot Promptingconcept12 min
01Best Practices for Prompt Creation6 capsules

Best Practices for Prompt Creation — 6 chapters.

06Be Specific: Kill Ambiguityconcept13 min07Give Context and Assign a Roleconcept13 min08Specify the Output Formatconcept13 min09Use Delimiters and Structurecode12 min10Iterate: Prompting Is a Loopintuition11 min11Common Mistakes and How to Fix Themdeep-dive14 min
02The Prompting Toolbox4 capsules

The Prompting Toolbox — 4 chapters.

12The Major LLM Tools: ChatGPT, Claude, Geminiconcept12 min13Chat, Playground, and APIcode13 min14Temperature and the Decoding Controlsmath14 min15System, User, and Assistant Messagescode11 min
03Text-to-Text Techniques6 capsules

Text-to-Text Techniques — 6 chapters.

16The Technique Landscapeconcept13 min17Summarization and Compressioncode14 min18Extraction and Classificationcode14 min19Transformation, Translation, and Rewritingcode12 min20Few-Shot Examples in Depthdeep-dive12 min21Role and Persona Promptingintuition12 min
04Reasoning Approaches6 capsules

Reasoning Approaches — 6 chapters.

22Why Reasoning Prompts Workintuition13 min23The Chain-of-Thought Approachconcept13 min24Chain of Thought in Practicecode13 min25The Interview Patternconcept12 min26The Tree-of-Thought Approachconcept12 min27Choosing a Reasoning Strategydeep-dive12 min
05Putting It Together4 capsules

Putting It Together — 4 chapters.

28Designing a Prompt from Scratchproject14 min29Debugging a Bad Promptproject13 min30Hallucinations, Safety, and Limitsdeep-dive13 min31Capstone: Build Your Own Prompt Libraryproject13 min

Ratings & reviews

No ratings yet. Yours would be the first.

Sign in to rate this book