Skip to main content
Open on GitHub

LlamaIndex

LlamaIndex is the leading data framework for building LLM applications

安装与设置

你需要安装 llama-index Python 包。

pip install llama-index

查看 安装说明

检索器

LlamaIndexRetriever

It is used for the question-answering with sources over an LlamaIndex data structure.

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

LlamaIndexGraphRetriever

It is used for question-answering with sources over an LlamaIndex graph data structure.

from langchain_community.retrievers.llama_index import LlamaIndexGraphRetriever