{"product_id":"generative-ai-design-patterns-solutions-to-common-challenges-when-building-genai-agents-and-applications-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\u003eBinding Type:\u003c\/b\u003e Paperback\u003cbr\u003e\u003cb\u003ePublisher:\u003c\/b\u003e O'Reilly Media\u003cbr\u003e\u003cb\u003ePublished:\u003c\/b\u003e 11\/18\/2025\u003cbr\u003e\u003cb\u003eISBN:\u003c\/b\u003e 9798341622661\u003cbr\u003e\u003cb\u003ePages:\u003c\/b\u003e 496","brand":"Valliappa Lakshmanan,Hannes Hapke","offers":[{"title":"Default Title","offer_id":51817873342645,"sku":"9798341622661","price":67.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0473\/0804\/6492\/files\/img_ccee2b4b-25fc-4533-b49d-ac8464588799.jpg?v=1759242212","url":"https:\/\/pastforward.org\/products\/generative-ai-design-patterns-solutions-to-common-challenges-when-building-genai-agents-and-applications-9798341622661","provider":"Past Forward","version":"1.0","type":"link"}