mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-15 12:02:11 +00:00
Added missed provider pages. Added descriptions and links. Co-authored-by: Erick Friis <erick@langchain.dev>
33 lines
775 B
Plaintext
33 lines
775 B
Plaintext
# LlamaIndex
|
|
|
|
>[LlamaIndex](https://www.llamaindex.ai/) is the leading data framework for building LLM applications
|
|
|
|
|
|
## Installation and Setup
|
|
|
|
You need to install the `llama-index` python package.
|
|
|
|
```bash
|
|
pip install llama-index
|
|
```
|
|
|
|
See the [installation instructions](https://docs.llamaindex.ai/en/stable/getting_started/installation/).
|
|
|
|
## Retrievers
|
|
|
|
### LlamaIndexRetriever
|
|
|
|
>It is used for the question-answering with sources over an LlamaIndex data structure.
|
|
|
|
```python
|
|
from langchain_community.retrievers.llama_index import LlamaIndexRetriever
|
|
```
|
|
|
|
### LlamaIndexGraphRetriever
|
|
|
|
>It is used for question-answering with sources over an LlamaIndex graph data structure.
|
|
|
|
```python
|
|
from langchain_community.retrievers.llama_index import LlamaIndexGraphRetriever
|
|
```
|