# 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/7c10a5fa327f6aaaf7c932822a9e5d144891406e/libs/community/langchain_community/retrievers/llama_index.py#L9)