LlamaIndex
LlamaIndex 是构建 LLM 应用的领先数据框架。
安装与设置
您需要安装 llama-index python 包。
pip install llama-index
请参阅安装指南。
检索器
LlamaIndexRetriever
它用于在 LlamaIndex 数据结构上进行带有来源的问答。
from langchain_community.retrievers.llama_index import LlamaIndexRetriever
API Reference:LlamaIndexRetriever
LlamaIndexGraphRetriever
它用于在 LlamaIndex 图数据结构上进行带有来源的问答。
from langchain_community.retrievers.llama_index import LlamaIndexGraphRetriever
API Reference:LlamaIndexGraphRetriever