# RePhraseQueryRetriever

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/retrievers/re_phraser/RePhraseQueryRetriever)

Given a query, use an LLM to re-phrase it.

Then, retrieve docs for the re-phrased query.

## Signature

```python
RePhraseQueryRetriever()
```

## Extends

- `BaseRetriever`

## Properties

- `retriever`
- `llm_chain`

## Methods

- [`from_llm()`](https://reference.langchain.com/python/langchain-classic/retrievers/re_phraser/RePhraseQueryRetriever/from_llm)

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/6fb37dba71da807af60aa7b909f71f0625a666bf/libs/langchain/langchain_classic/retrievers/re_phraser.py#L27)