跳到主要内容
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

此页面是否对您有帮助?