{"product_id":"prompt-engineering-in-practice-design-test-and-improve-ai-prompts","title":"Prompt Engineering in Practice: Design, test, and improve AI prompts","description":"\u003cp\u003e\u003cspan class=\"a-text-bold\"\u003eGet the eBook free when you register your print book at Manning.\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003e\"A thoughtful, practical guide to prompt engineering as a real discipline.”\u003cbr\u003e—Che Gamble, Davies Group\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003eSometimes your LLMs return brilliant responses. Other times, not so much. Do you know why? \u003c\/span\u003e\u003cspan class=\"a-text-italic\"\u003ePrompt Engineering in Practice\u003c\/span\u003e\u003cspan\u003e shows you how to move from accidental AI results to reliable, production-grade systems you can deploy with confidence. Written by AI veterans \u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eRichard Davies\u003c\/span\u003e\u003cspan\u003e and \u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eRafael Fischer\u003c\/span\u003e\u003cspan\u003e, this book introduces a unique approach: treat prompts as engineered, self-contained interfaces that you can compose, evaluate, and refine. This shift reframes model interactions as a strict software design discipline rather than a series of fuzzy trial-and-error exercises.\u003cbr\u003e\u003cbr\u003eSpanning 11 comprehensive chapters, \u003c\/span\u003e\u003cspan class=\"a-text-italic\"\u003ePrompt Engineering in Practice\u003c\/span\u003e\u003cspan\u003e establishes a logical “design stack” that builds from microscopic syntax to macroscopic system architecture. You’ll start by learning to define the structural elements of a prompt, including delimiters and falsifiable constraints, along with linguistic characteristics like precision, directness, and brevity. These techniques equip you to write well-specified prompts that you can successfully incorporate into reusable production components.\u003cbr\u003e\u003cbr\u003eYou’ll then explore the foundational patterns that form the core of prompt engineering and enable you to build robust, scalable agentic workflows. Reviewer \u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eDewang Sultania\u003c\/span\u003e\u003cspan\u003e, Senior Machine Learning Engineer at Netflix, noted “The nine-pattern taxonomy provides genuinely useful composable prompt engineering strategies. It’s also a great introduction on how LLM-powered systems actually work!”\u003cbr\u003e\u003cbr\u003eBecause LLM responses are consistently inconsistent, the book provides a practical framework to diagnose prompt failures systematically by treating prompts as specifications and investigating sources of variance. Throughout the book, you’ll practice a process to systematically analyze and troubleshoot prompt failures as you navigate four distinct phases of the prompt engineering lifecycle—Design, Test, Iterate, Manage. By the time you reach the deployment and operations chapters that conclude the book, you’ll be treating unexpected outputs as valuable debuggable system signals that help you isolate where a prompt is underspecified.\u003cbr\u003e\u003cbr\u003eUltimately, \u003c\/span\u003e\u003cspan class=\"a-text-italic\"\u003ePrompt Engineering in Practice\u003c\/span\u003e\u003cspan\u003e shows you how to treat prompts as first-class, maintainable software artifacts. You will learn to eliminate “prompt debt” by building version-controlled, audited prompt libraries that can be reviewed in pull requests, secured against injection, and managed using role-based access controls. By bridging the gap between prototype experimentation and production operations, this guide provides the exact tools needed to collaborate with cross-functional teams and maintain consistent, safe AI integrations over time.\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eWhat's inside\u003c\/span\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003e• Eliminate prompt debt with version-controlled, audited prompt libraries\u003cbr\u003e• Reduce development iteration and rework through deliberate linguistic precision\u003cbr\u003e• Mitigate hallucinations and security vulnerabilities using robust hardening techniques\u003cbr\u003e• Diagnose and debug model output failures using systematic engineering frameworks\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cstrong\u003e\u003cspan class=\"a-text-bold\" style=\"color: rgb(169, 94, 176);\"\u003eAbout the reader\u003c\/span\u003e\u003c\/strong\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003eThis book is for software developers and AI engineers who want to build, secure, and maintain reliable LLM-powered systems in production.\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cstrong\u003e\u003cspan style=\"color: rgb(169, 68, 228);\"\u003e\u003cspan class=\"a-text-bold\"\u003eAbout the author\u003c\/span\u003e\u003c\/span\u003e\u003c\/strong\u003e\u003cspan\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan\u003e\u003c\/span\u003e\u003c\/p\u003e\n\u003cdiv id=\"editorialReviews_feature_div\" class=\"celwidget\" data-feature-name=\"editorialReviews\" data-csa-c-type=\"widget\" data-csa-c-content-id=\"editorialReviews\" data-csa-c-slot-id=\"editorialReviews_feature_div\" data-csa-c-asin=\"\" data-csa-c-is-in-initial-active-row=\"false\" data-csa-c-id=\"esqqec-fixv42-4rzcy1-1zfzhy\" data-cel-widget=\"editorialReviews_feature_div\"\u003e\n\u003cdiv class=\"a-section a-spacing-small a-padding-base\"\u003e\n\u003cdiv class=\"a-section a-spacing-small a-padding-small\"\u003e\n\u003cspan class=\"a-text-bold\"\u003eRichard Davies\u003c\/span\u003e\u003cspan\u003e is the Founder, CEO, and CTO of Meridias. He has worked exclusively in artificial intelligence since 2018, with hands-on experience across machine learning, agents, and Large Language Models.\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cspan class=\"a-text-bold\"\u003eRafael Fischer\u003c\/span\u003e\u003cspan\u003e, PhD in Engineering, specializes in building and delivering agentic LLM solutions with clients in the US, Europe, and Brazil.\u003c\/span\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cdiv id=\"detailBullets_feature_div\" class=\"celwidget\" data-feature-name=\"detailBullets\" data-csa-c-type=\"widget\" data-csa-c-content-id=\"detailBullets\" data-csa-c-slot-id=\"detailBullets_feature_div\" data-csa-c-asin=\"\" data-csa-c-is-in-initial-active-row=\"false\" data-csa-c-id=\"js2ff4-wobd3x-yaug8k-zcgiqw\" data-cel-widget=\"detailBullets_feature_div\"\u003e\n\u003cdiv id=\"detailBulletsWrapper_feature_div\" data-feature-name=\"detailBullets\" data-template-name=\"detailBullets\" class=\"a-section feature detail-bullets-wrapper bucket\" data-cel-widget=\"detailBulletsWrapper_feature_div\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003cp\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003e\u003c\/span\u003e\u003cstrong\u003e\u003cspan class=\"a-text-bold\" style=\"color: rgb(219, 61, 61);\"\u003eTable of Contents\u003c\/span\u003e\u003c\/strong\u003e\u003cspan\u003e\u003cbr\u003e\u003cbr\u003ePart 1 Foundations\u003cbr\u003e1 Prompt engineering: The blueprint\u003cbr\u003ePart 2 Prompt Design\u003cbr\u003e2 Prompt design: Structural elements\u003cbr\u003e3 Prompt design: Linguistic elements\u003cbr\u003e4 Patterns\u003cbr\u003e5 Templates\u003cbr\u003e6 Prompt types\u003cbr\u003ePart 3 Advanced Prompting\u003cbr\u003e7 Contextual prompting\u003cbr\u003e8 Prompt sampling\u003cbr\u003e9 Advanced prompt patterns\u003cbr\u003ePart 4 Practice\u003cbr\u003e10 Security\u003cbr\u003e11 Managing Prompts in Production\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003cb\u003eEbook License\u003c\/b\u003e\u003c\/p\u003e\n\u003cp\u003eEnd-User Warranty And License Agreement\u003c\/p\u003e\n\u003cp\u003e1. Grant Of License\u003c\/p\u003e\n\u003cp\u003eManning Has Authorized The Download By You Of An Unrestricted Number Of Copies Of The Electronic Book (Ebook) In Any Of The Available Formats. Manning Grants You A Nonexclusive, Nontransferable License To Use The Ebook According To The Terms And Conditions Herein. This License Agreement Permits You To Install The Ebook On Any And All Your Devices For Your Personal Use Only.\u003c\/p\u003e\n\u003cp\u003e2. Restrictions\u003c\/p\u003e\n\u003cp\u003eYou Shall Not: (1) Share, Resell, Rent, Assign, Timeshare, Distribute, Or Transfer All Or Part Of The Ebook Or Any Rights Granted Hereunder To Any Other Person; (2) Duplicate The Ebook, Except For A Single Backup Or Archival Copy; (3) Remove Any Proprietary Notices, Labels, Or Marks From The Ebook; (4) Transfer Or Sublicense Title To The Ebook To Any Other Party.\u003c\/p\u003e\n\u003cp\u003e3. Intellectual Property Protection\u003c\/p\u003e\n\u003cp\u003eThe Ebook Is Owned By Manning And Is Protected By United States And International Copyright And Other Intellectual Property Laws. Manning Reserves All Rights In The Ebook Not Expressly Granted Herein. This License And Your Right To Use The Ebook Terminate Automatically If You Violate Any Part Of This Agreement. In The Event Of Termination, You Must Remove The Original And Any Copies Of The Ebook From All Your Devices.\u003c\/p\u003e\n\u003cp\u003e4. Source Code Supplementary Material\u003c\/p\u003e\n\u003cp\u003eAny Source Code Files Provided As A Supplement To The Book Are Freely Available To The Public For Download. Reuse Of The Code Is Permitted, In Whole Or In Part, Including The Creation Of Derivative Works, Provided That You Acknowledge That You Are Using It And Identify The Source: Title, Publisher And Year.\u003c\/p\u003e\n\u003cp\u003e5. Limited Warranty\u003c\/p\u003e\n\u003cp\u003eManning Warrants That The Ebook Files, A Copy Of Which You Are Authorized To Download, Are Free From Defects In The Operational Sense That They Can Be Read By A Pdf Reader Or Epub Reader, Or Other. Except For This Express Limited Warranty, Manning Makes And You Receive No Warranties, Express, Implied, Statutory Or In Any Communication With You, And Manning Specifically Disclaims Any Other Warranty Including The Implied Warranty Of Merchantability Or Fitness Or A Particular Purpose. Manning Does Not Warrant That The Operation Of The Ebook Will Be Uninterrupted Or Error Free. If The Ebook Was Purchased In The United States, The Above Exclusions May Not Apply To You As Some States Do Not Allow The Exclusion Of Implied Warranties. In Addition To The Above Warranty Rights, You May Also Have Other Rights That Vary From State To State.\u003c\/p\u003e\n\u003cp\u003e6. Limitation Of Liability\u003c\/p\u003e\n\u003cp\u003eIn No Event Will Manning Be Liable For Any Damages, Whether Arising For Tort Or Contract, Including Loss Of Data, Lost Profits, Or Other Special, Incidental, Consequential, Or Indirect Damages Arising Out Of The Use Or Inability To Use The Ebook.\u003c\/p\u003e\n\u003cp\u003e7. General\u003c\/p\u003e\n\u003cp\u003eThis Agreement Constitutes The Entire Agreement Between You And Manning And Supersedes Any Prior Agreement Concerning The Ebook. This Agreement Is Governed By The Laws Of The State Of New York.\u003c\/p\u003e","brand":"Manning Publications","offers":[{"title":"Print Book","offer_id":50816711196742,"sku":"9781633436305","price":5318.0,"currency_code":"INR","in_stock":true},{"title":"E-book","offer_id":50816711229510,"sku":"9781633436305","price":3782.0,"currency_code":"INR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0754\/2797\/1142\/files\/61WvJwgK78L._SL1500.jpg?v=1793096135","url":"https:\/\/cb-india.com\/products\/prompt-engineering-in-practice-design-test-and-improve-ai-prompts","provider":"Computer Bookshop (India) Pvt Ltd","version":"1.0","type":"link"}