Skip to Content
生成式人工智能设计模式
book

生成式人工智能设计模式

by Valliappa Lakshmanan, Hannes Hapke
October 2025
Intermediate to advanced
508 pages
6h 6m
Chinese
O'Reilly Media, Inc.

Overview

本作品已使用人工智能进行翻译。欢迎您提供反馈和意见:translation-feedback@oreilly.com

生成式人工智能赋予了强大的新能力,但同时也存在一些严重局限性——若想交付可靠的应用程序或智能体,这些问题必须解决。值得庆幸的是,该领域的专家们已汇编出32种经过实践验证的设计模式,用于应对使用 LLMs 构建应用时可能遇到的挑战,例如幻觉、非确定性响应和知识截断等问题。

本书将研究成果与实战经验凝练为可直接应用于项目的建议。每种模式均阐述具体问题,通过完整代码示例展示经实践验证的解决方案,并探讨其权衡取舍。

  • 围绕LLMs的局限性进行设计
  • 确保生成内容遵循特定风格、语调或格式
  • 在平衡各类风险的同时最大化创造力
  • 构建具备规划、自我修正、执行行动及协同运作能力的智能体
  • 将模式组合为智能体应用,满足多样化使用场景
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

生成式人工智能可视化

生成式人工智能可视化

Priyanka Vergadia, Valliappa Lakshmanan
流架构

流架构

James Urquhart

Publisher Resources

ISBN: 9798341671478