# LlamaIndexRetriever

> **Class** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/retrievers/llama_index/LlamaIndexRetriever)

`LlamaIndex` retriever.

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

## Signature

```python
LlamaIndexRetriever()
```

## Extends

- `BaseRetriever`

## Properties

- `index`
- `query_kwargs`

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/retrievers/llama_index.py#L9)