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/integrations
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
..
callbacks mv popular and additional chains to use cases (#8242) 1 year ago
chat Updated docs on Vertex AI going GA (#8531) 1 year ago
document_loaders RSS Feed / OPML loader (#8694) 1 year ago
document_transformers mv module integrations docs (#8101) 1 year ago
llms Bagatur/eden llm (#8670) 1 year ago
memory Add StreamlitChatMessageHistory (#8497) 1 year ago
providers `MLflow` examples (#8642) 1 year ago
retrievers Retriever that can re-phase user inputs (#8026) 1 year ago
text_embedding Harrison/aleph alpha (#8735) 1 year ago
toolkits Github add "Create PR" tool + Docs update (#8235) 1 year ago
tools Wfh/ref links (#8454) 1 year ago
vectorstores Updates to Vectara documentation (#8699) 1 year ago