Generative AI Design Patterns: Solutions to Common Challenges When Building Genai Agents and Applications (Paperback)
暫譯: 生成式AI設計模式:構建GenAI代理和應用時常見挑戰的解決方案(平裝本)

Lakshmanan, Valliappa, Hapke, Hannes

買這商品的人也買了...

商品描述

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 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.

Authors 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.

 

  • Design around the limitations of LLMs, such as hallucination and nondeterminism
  • Force LLMs to generate text that follows a specific style or grammar
  • Maximize creativity while balancing different types of risk
  • Extend the capability of an LLM beyond just content creation
  • Use patterns together to solve a variety of different use cases

 

商品描述(中文翻譯)

生成式人工智慧(Generative AI)提供了強大的新功能,但這些功能也伴隨著一些嚴重的限制,您必須解決這些限制才能交付可靠的應用程式或代理程式。幸運的是,該領域的專家們已經在努力編纂一套經過驗證的設計模式庫,以應對您在使用大型語言模型(LLMs)和其他生成式人工智慧模型時可能遇到的挑戰——包括幻覺(hallucinations)、非確定性答案(nondeterministic answers)和知識截止(knowledge cutoffs)等問題。您將在此找到31個最重要的設計模式。

作者Valliappa Lakshmanan和Hannes Hapke將研究進展和實際經驗編纂成可供您輕鬆融入項目的建議。每個詳細的解釋都包括問題描述、一個經過驗證的解決模式、一個範例,以及潛在權衡的討論。無論您是從頭到尾閱讀以獲取靈感,還是將其作為日常參考,這本實用指南都將幫助您排解可能出現的各種問題。

- 設計時考慮LLMs的限制,例如幻覺和非確定性
- 強制LLMs生成遵循特定風格或語法的文本
- 在平衡不同類型風險的同時最大化創造力
- 擴展LLM的能力,不僅限於內容創建
- 結合多種模式以解決各種不同的使用案例

類似商品