跳到主要内容
Open on GitHub

LlamaIndex

LlamaIndex 是构建 LLM 应用程序的领先数据框架

安装与设置

你需要安装 llama-index Python 包。

pip install llama-index

查看 安装说明

检索器

LlamaIndexRetriever

它用于在 LlamaIndex 数据结构上进行带源的问答。

from langchain_community.retrievers.llama_index import LlamaIndexRetriever
API 参考:LlamaIndexRetriever

LlamaIndexGraphRetriever

它用于在 LlamaIndex 图数据结构上进行带源的问答。

from langchain_community.retrievers.llama_index import LlamaIndexGraphRetriever
© . This site is unofficial and not affiliated with LangChain, Inc.
这些文档随着 LangChain v1.0 在 2025 年 10 月的发布而弃用,并且不再维护。 请访问 v1.0 文档