用 LangChain 和 Amazon Bedrock Knowledge Bases 构建智能体检索 RAG 应用
Agentic retrieval with LangChain and Amazon Bedrock Knowledge Bases
AWS 官方教程,教你用 LangChain 搭 Bedrock 的智能体检索,还能看 trace 排查每步检索、对比两种路径的成本。
AWS 在机器学习博客上发布教程,演示基于 Amazon Bedrock Managed Knowledge Base 和 LangChain 搭建 RAG 应用。教程对比了单次检索与智能体检索两条路径处理多部分问题的效果差异,并展示了如何读取 trace 事件查看每步检索过程。作者还给出两条路径的成本对比,方便读者判断是否值得引入智能体检索。
Agentic retrieval with LangChain and Amazon Bedrock Knowledge Bases
Build a Retrieval Augmented Generation (RAG) application on Amazon Bedrock Managed Knowledge Base with LangChain, and see how agentic retrieval handles the multi-part questions that single-shot retrieval answers poorly. Run the same query through both paths, read the trace events, and compare what each retrieval path costs.