🌐 فراتر از مرزها؛ مسیر بین‌المللی CardDev

Book Generative AI Design Patterns

0 Flashcards
0 Gallery cards
0 Audio
0 Prompts
0 Glossary

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.

Cover of Generative AI Design Patterns
O’Reilly

Book overview

A look at the structure and key facts of the book

Publication date

Publication date

October 6, 2025

Edition

Edition

1 edition

Total chapters

Total chapters

10 chapters

Total pages

Total pages

508 pages

Level

Level

Intermediate to advanced

Generative AI Design Patterns

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.

Browse this section to get a quick overall picture of the book's content.

Managing LLM Limitations

This section focuses on the inherent challenges of large language models such as hallucinations and nondeterministic responses. By using design patterns, developers can control model output and increase system reliability.

  • Using Logits Masking techniques
  • Enforcing grammar constraints
  • Optimizing content to maintain specific style and tone

Developing and Composing Intelligent Agents

This topic covers building agents capable of planning, self-correction, and collaborating with other agents. This approach helps create agentic applications that perform beyond simple text generation.

  • Implementing tool calling and code execution
  • Multiagent collaboration
  • Composing patterns for complex workflows

The authors behind this book are among the most prominent experts and pioneers of their field. Their work is the result of years of hands-on experience, deep research and collaboration with the world's largest technology organizations and companies.Each of these authors, through specialist books and articles, has played an important role in shaping and advancing technical knowledge worldwide.

Comments

Readers' experience with this book - comments from buyers and other users

Book release

10 chapters in production

Produced on
September 22, 2026
Rating
5.0
Prerequisites
None

Reading time

13:45

Book type

Subscription

Participants

Be the first

Last updated

Sep 30, 2026