Skip to main content

LlamaIndex

LlamaIndex is the leading data framework for building LLM applications

Installation and Setupโ€‹

You need to install the llama-index python package.

pip install llama-index

See the installation instructions.

Retrieversโ€‹

LlamaIndexRetrieverโ€‹

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

from langchain_community.retrievers.llama_index import LlamaIndexRetriever
API Reference:LlamaIndexRetriever

LlamaIndexGraphRetrieverโ€‹

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

from langchain_community.retrievers.llama_index import LlamaIndexGraphRetriever

Was this page helpful?