Prompt Engineering in Practice

Return to Prompt Engineering, Manning AI-ML-DL-NLP-GAN-LLM-RAG-Chatbot-ChatGPT Series, Manning Data Science Series, AI Bibliography, Manning Books Purchased by Cloud Monk, Manning Bibliography, Cloud Monk's Book Purchases, Cloud Monk Library, Bibliography, Manning Publications

By Richard Davies

MEAP began May 2024 Publication in Spring 2025 (estimated)

ISBN 9781633436305 225 pages (estimated)

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:

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.