Prompt Engineering in Practice you own this product

Richard Davies
  • MEAP began May 2024
  • Publication in Spring 2025 (estimated)
  • ISBN 9781633436305
  • 225 pages (estimated)
  • printed in black & white

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

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
Write, refine, organize, and optimize AI prompts that generate relevant and useful text and images!

Generative AI models such as ChatGPT, Stable Diffusion, and Gemini can produce amazingly “human-like” news articles, document summaries, images, computer code, and more—if you know how to write effective prompts. This book will teach you the prompt design and authoring skills you need to get useful and relevant responses from AI models, along with advanced prompting techniques for Retrieval Augmented Generation (RAG), building autonomous agents, and data privacy.

Prompt Engineering in Practice teaches you how to:

  • Design prompts that generate accurate and readable responses from LLMs
  • Mitigate hallucinations in LLM output
  • Domain-aware content generation using RAG
  • How AI model design affects your prompts
  • Evaluate, optimize, and organize your prompts

Prompt engineering is the discipline of writing instructions for AI models to generate relevant, accurate, and usable completions. Prompt Engineering in Practice shows you how to engineer prompts that ensure the outputs of LLMs and other generative AI models exactly match your requirements. You’ll learn how to structure your objectives, take advantage of contextual details, and even pick the right model for your task.

about the book

Prompt Engineering in Practice introduces valuable prompt engineering techniques based on industry usage and AI research. You’ll learn by exploring real-world cases and examples, from simple tasks like generating formal emails, to using LLMs for data annotation, classifying tech support tickets, and building custom chatbots. You’ll appreciate author Richard Davies’ explanation of prompt design patterns and templates that you can customize for your own needs. Along the way, you’ll discover automated prompting techniques you can use to create autonomous AI agents, and methods for evaluating your own prompts to ensure they’re delivering the quality outputs you desire.

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.

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
  • 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
  • Prompt Engineering in Practice ebook for free