{"product_id":"generative-ai-design-patterns-valliappa-lakshmanan-9798341622661","title":"Generative AI Design Patterns: Solutions to Common Challenges When Building Genai Agents and Applications","description":"\u003cp\u003eGenerative AI enables powerful new capabilities, but they come with some serious limitations that you'll have to tackle to ship a reliable application or agent. Luckily, experts in the field are already hard at work compiling a library of tried-and-true design patterns to address the challenges you're likely to encounter when building applications using LLMs and other GenAI models--hallucinations, nondeterministic answers, and knowledge cutoffs among them. You'll find 31 of the most essential here.\u003c\/p\u003e \u003cp\u003eAuthors Valliappa Lakshmanan and Hannes Hapke codify advances in research and real-world experience into advice that you can readily incorporate into your projects. Each detailed explanation includes a description of the problem, a proven pattern to solve it, an example, and a discussion of potential trade-offs. Whether you read it cover to cover for inspiration or use it as a daily reference, this practical guide will help you troubleshoot whatever problems may arise.\u003c\/p\u003e \u003cp\u003e\u003c\/p\u003e\u003cul\u003e \u003cli\u003eDesign around the limitations of LLMs, such as hallucination and nondeterminism\u003c\/li\u003e \u003cli\u003eForce LLMs to generate text that follows a specific style or grammar\u003c\/li\u003e \u003cli\u003eMaximize creativity while balancing different types of risk\u003c\/li\u003e \u003cli\u003eExtend the capability of an LLM beyond just content creation\u003c\/li\u003e \u003cli\u003eUse patterns together to solve a variety of different use cases\u003c\/li\u003e \u003c\/ul\u003e\u003cbr\u003e\u003cbr\u003e\u003cb\u003eAuthor:\u003c\/b\u003e Valliappa Lakshmanan,Hannes Hapke\u003cbr\u003e\u003cb\u003eISBN-13:\u003c\/b\u003e 9798341622661\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e O'Reilly Media\u003cbr\u003e\u003cb\u003eLanguage:\u003c\/b\u003e English\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 11\/18\/2025\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 496\u003cbr\u003e\u003cb\u003eFormat:\u003c\/b\u003e Paperback","brand":"Valliappa Lakshmanan","offers":[{"title":"Paperback","offer_id":47419836956927,"sku":"9798341622661","price":79.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0662\/2982\/9887\/files\/img_3b134730-ae7a-4a0e-afa4-0d12389e48c0.jpg?v=1761514161","url":"https:\/\/www.whiterainbookhouse.com\/products\/generative-ai-design-patterns-valliappa-lakshmanan-9798341622661","provider":"WR Book House","version":"1.0","type":"link"}