欢迎光临澳大利亚新华书店网 [登录 | 免费注册]

    • 生成式AI设计模式(影印版)(英文版)
      • 作者:(美)瓦利阿帕·拉克什曼南//汉内斯·哈普克|责编:张烨
      • 出版社:东南大学
      • ISBN:9787576627695
      • 出版日期:2026/07/01
      • 页数:493
    • 售价:67.2
  • 内容大纲

        生成式AI蕴藏着强大潜能,但在构建可靠应用或智能体之前,仍需解决其存在的一些不可忽视的局限性。值得庆幸的是,领域专家们已系统梳理出32个经过验证的设计模式,帮助你应对LLM(大语言模型)应用开发过程中可能遇到的幻觉现象、非确定性响应、知识截点等难题。
        本书将研究成果与实战经验融汇成可落地的实践建议。每个模式描述一个问题,给出经过验证的解决方式,提供完整的代码示例,并分析设计取舍。
        围绕LLM的局限性进行设计
        确保生成的内容遵循特定的风格、语气或格式
        平衡不同风险类型,同时最大限度地激发创造力
        构建具备规划、自校正、行动及多智能体协作能力的智能体
        组合各种模式,打造适用于多元场景的智能体应用
  • 作者介绍

  • 目录

    Preface
    1. Introduction
      GenAI Design Patterns
      Building on Foundational Models
      Agentic AI
      Fine-Grained Control
      In-Context Learning
      Post-Training
      The Organization of the Rest of the Book
    2. Controlling Content Style
      Pattern 1: Logits Masking
      Pattern 2: Grammar
      Pattern 3: Style Transfer
      Pattern 4: Reverse Neutralization
      Pattern 5: Content Optimization
      Summary
    3. Adding Knowledge: Bass
      Pattern 6: Basic RAG
      Pattern 7: Semantic Indexing
      Pattern 8: Indexing at Scale
      Summary
    4. Adding Knowledge: Syncopation
      Pattern 9: Index-Aware Retrieval
      Pattern 10: Node Postprocessing
      Pattern 11: Trustworthy Generation
      Pattern 12: Deep Search
      Summary
    5. Extending Model Capabilities
      The Limits of LLM Reasoning
      Pattern 13: Chain of Thought
      Pattern 14: Tree of Thoughts (ToT)
      Pattern 15: Adapter Tuning
      Pattern 16: Evol-Instruct
      Summary
    6. Improving Reliability
      Pattern 17: LLM-as-Judge
      Pattern 18: Reflection
      Pattern 19: Dependency Injection
      Pattern 20: Prompt Optimization
      Summary
    7. Enabling Agents to Take Action
      Pattern 21: Tool Calling
      Pattern 22: Code Execution
      Pattern 23: Multiagent Collaboration
      Summary
    8. Addressing Constraints
      Pattern 24: Small Language Model
      Pattern 25: Prompt Caching
      Pattern 26: Inference Optimization
      Pattern 27: Degradation Testing

      Pattern 28: Long-Term Memory
      Summary
    9. Setting Safeguards
      Pattern 29: Template Generation
      Pattern 30: Assembled Reformat
      Pattern 31: Self-Check
      Pattern 32: Guardrails
      Summary
    10. Composable Agentic Workflows
      Agentic Workflow
      Summary
    Index