Generative AI Design Patterns: Solutions to Common Challenges When Building GenAI Agents and Applications

Generative AI Design Patterns: Solutions to Common Challenges When Building GenAI Agents and Applications book cover

Generative AI Design Patterns: Solutions to Common Challenges When Building GenAI Agents and Applications

Author(s): Valliappa Lakshmanan (Author), Hannes Hapke (Author)

  • Publisher finelybook 出版社: O'Reilly Media
  • Publication Date 出版日期: November 11, 2025
  • Edition 版次: 1st
  • Language 语言: English
  • Print length 页数: 506 pages
  • ASIN: B0FN37DV9N
  • ISBN-13: 9798341622661

Book Description

Generative 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 have compiled a library of 32 tried-and-true design patterns to address the challenges you're likely to encounter when building applications using LLMs, such as hallucinations, nondeterministic responses, and knowledge cutoffs.

This book codifies research and real-world experience into advice you can incorporate into your projects. Each pattern describes a problem, shows a proven way to solve it with a fully coded example, and discusses trade-offs.

  • Design around the limitations of LLMs
  • Ensure that generated content follows a specific style, tone, or format
  • Maximize creativity while balancing different types of risk
  • Build agents that plan, self-correct, take action, and collaborate with other agents
  • Compose patterns into agentic applications for a variety of use cases

Editorial Reviews

About the Author

Valliappa (Lak) Lakshmanan works closely with management teams across a range of enterprises to help them employ data and AI-driven innovation to grow their businesses. Previously, he was the Director for Data Analytics and AI Solutions on Google Cloud and a Research Scientist at NOAA. He co-founded Google's Advanced Solutions Lab and is the author of several O'Reilly books and Coursera courses. He was elected a Fellow of the American Meteorological Society (the highest honor offered by the AMS) for pioneering machine learning algorithms in severe weather prediction.

Hannes Hapke is a Senior Machine Learning Engineer at Digits, and has co-authored multiple machine learning publications, including the book Building Machine Learning Pipelines and Machine Learning Production Systems by O'Reilly Media. He has also presented state-of-the-art ML work at conferences like ODSC or O’Reilly’s TensorFlow World and is an active contributor to TensorFlow's TFX Addons project. Hannes is passionate about machine learning engineering and production machine learning use cases using the latest machine learning developments.

Amazon Page

下载地址

PDF, (conv), EPUB | 23 MB | 2025-10-26
打赏
未经允许不得转载:finelybook » Generative AI Design Patterns: Solutions to Common Challenges When Building GenAI Agents and Applications

评论 抢沙发

觉得文章有用就打赏一下文章作者

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫