Skip to main content
在 GitHub 上打开

LlamaIndex

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

安装和设置

您需要安装llama-indexpython 软件包。

pip install llama-index

请参阅安装说明

Retriever

LlamaIndexRetriever

它用于通过 LlamaIndex 数据结构对源进行问答。

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

LlamaIndexGraph检索器

它用于通过 LlamaIndex 图形数据结构对源进行问答。

from langchain_community.retrievers.llama_index import LlamaIndexGraphRetriever