Rag with Python Cookbook: Practical Recipes from Data Preprocessing to LLM Agents
暫譯: 使用 Python 的 Rag 食譜:從數據預處理到 LLM 代理的實用食譜

Polzer, Dominik

  • 出版商: O'Reilly
  • 出版日期: 2026-06-02
  • 售價: $2,700
  • 貴賓價: 9.8$2,646
  • 語言: 英文
  • 頁數: 375
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 9798341600560
  • ISBN-13: 9798341600560
  • 相關分類: Large language model
  • 海外代購書籍(需單獨結帳)

商品描述

As businesses race to unlock the full potential of large language models (LLMs), a critical challenge has emerged: How do you connect these tools to real-time, external data to solve real-world problems? Retrieval-augmented generation (RAG) is the answer. By combining LLMs with information retrieval, RAG empowers you to build everything from intelligent chatbots to autonomous, task-solving agents.

Packed with over 70 practical recipes, this go-to guide tackles a wide range of GenAI applications through structured hands-on learning. Author Dominik Polzer provides the tools you need to design, implement, and optimize RAG systems for your unique use cases. Whether you're working with simple data retrieval or designing cutting-edge autonomous agents, this cookbook will help you stay ahead of the curve.

  • Learn core RAG components including embedding, retrieval, and generation techniques
  • Understand advanced workflows like semantic-aware chunking and multi-query prompting
  • Build custom solutions such as chatbots and autonomous agents for specific data challenges
  • Continuously evaluate and optimize systems for accuracy, relevance, and performance

商品描述(中文翻譯)

隨著企業競相釋放大型語言模型(LLMs)的全部潛力,一個關鍵挑戰浮現出來:如何將這些工具連接到實時的外部數據,以解決現實世界中的問題?檢索增強生成(Retrieval-augmented generation, RAG)就是答案。通過將LLMs與信息檢索相結合,RAG使您能夠構建從智能聊天機器人到自主任務解決代理的各種應用。

這本包含超過70個實用食譜的指南,通過結構化的實踐學習,處理各種GenAI應用。作者Dominik Polzer提供了設計、實施和優化RAG系統所需的工具,以滿足您的獨特用例。無論您是在處理簡單的數據檢索,還是設計尖端的自主代理,這本食譜將幫助您保持領先。

- 學習核心RAG組件,包括嵌入、檢索和生成技術
- 理解高級工作流程,如語義感知分塊和多查詢提示
- 為特定數據挑戰構建自定義解決方案,如聊天機器人和自主代理
- 持續評估和優化系統的準確性、相關性和性能