Prompt Engineering in Practice

you own this product
Richard Davies, Rafael Fischer
  • MEAP began May 2024
  • Last updated May 2026
  • Publication in Fall 2026 (estimated)
  • ISBN 9781633436305
  • 225 pages (estimated)
  • printed in black & white
resources: Book forum

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
Anyone who’s tried to build software on top of an LLM knows that prompts are unpredictable, demanding the exact same discipline and systematic approach as the rest of the engineering stack. Prompt Engineering in Prictice shows you how to design, refine, and manage prompts using proven patterns and practical techniques drawn from real-world AI development.

The book introduces a systemic approach to prompt engineering based on industry usage and AI research. You’ll learn how to structure your objectives, take advantage of contextual details, apply systematic prompt patterns, and even pick the right model for your task. The techniques are model-agnostic, require no machine learning background, and are demonstrated through practical prompt examples and real-world scenarios.

You’ll appreciate author Richard Davies’ explanation of prompt design patterns and templates that you can customize for your own needs. Learn from real-world cases and examples drawn from the kinds of tasks software engineers actually perform, from generating pull request descriptions and incident summaries to using LLMs for data annotation, classifying tech support tickets, and building custom chatbots.

what's inside

  • Mitigate hallucinations in LLM output
  • Automated prompting techniques for AI agents
  • Contextual prompting, prompt sampling, and advanced prompt patterns
  • Prompt security and managing prompts in production
  • Apply reusable prompt patterns and templates to real-world tasks

about the reader

No special skills with AI or machine learning required. Code examples are in Python.

about the authors

Richard Davies is the CTO of Vance, an artificial intelligence US-based startup in the business obligations and observance space. With over 6 years of industry experience, he specializes in developing cutting-edge AI products, including real-time semantic segmentation systems, activity detection algorithms, and machine translation platforms.

Rafael Fischer, PhD, is a Generative AI Software Engineer with over 6 years of experience designing and delivering scalable AI-powered products for companies in the US, Europe, and Brazil. He specializes in building full-stack, product-oriented solutions that integrate LLMs, agentic workflows, and secure, cloud-native architectures to create intuitive, high-impact user experiences.

This book provides a creative ways of using prompt engineering to use Gen AI to get useful results.

Louis Luangkesorn, Lead Data Scientist, Highmark Health

The content is very important especially for those who are using LLMs at work and must seek to be efficient with their time and money if requests and responses are tracked by token cost.

Albert Lardizabal
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Prompt Engineering in Practice ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Prompt Engineering in Practice ebook for free