You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/docs/extras
Lance Martin d1b95db874
Retriever that can re-phase user inputs (#8026)
Simple retriever that applies an LLM between the user input and the
query pass the to retriever.

It can be used to pre-process the user input in any way.

The default prompt:

```
DEFAULT_QUERY_PROMPT = PromptTemplate(
    input_variables=["question"],
    template="""You are an assistant tasked with taking a natural languge query from a user
    and converting it into a query for a vectorstore. In this process, you strip out
    information that is not relevant for the retrieval task. Here is the user query: {question} """
)
```

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
1 year ago
..
_templates Update Integrations links (#8206) 1 year ago
additional_resources Link to use cases from tutorials (#8371) 1 year ago
ecosystem use top nav docs (#8090) 1 year ago
guides updated interface jupyter notebook explanations (#8689) 1 year ago
integrations Retriever that can re-phase user inputs (#8026) 1 year ago
modules updates some spelling mistakes (#8537) 1 year ago
use_cases Minor formatting and additional figure for summarization use case (#8663) 1 year ago