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.