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

此頁面是否對您有幫助?