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