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>
2023-08-03 21:23:59 -07:00
..
callbacks mv popular and additional chains to use cases (#8242) 2023-07-27 12:55:13 -07:00
chat Updated docs on Vertex AI going GA (#8531) 2023-07-31 17:15:04 -07:00
document_loaders RSS Feed / OPML loader (#8694) 2023-08-03 14:58:06 -07:00
document_transformers mv module integrations docs (#8101) 2023-07-23 23:23:16 -07:00
llms Bagatur/eden llm (#8670) 2023-08-03 10:24:51 -07:00
memory Add StreamlitChatMessageHistory (#8497) 2023-08-01 14:28:15 -07:00
providers MLflow examples (#8642) 2023-08-02 13:30:28 -07:00
retrievers Retriever that can re-phase user inputs (#8026) 2023-08-03 21:23:59 -07:00
text_embedding Harrison/aleph alpha (#8735) 2023-08-03 21:21:15 -07:00
toolkits Github add "Create PR" tool + Docs update (#8235) 2023-07-27 19:19:44 -07:00
tools Wfh/ref links (#8454) 2023-07-29 08:44:32 -07:00
vectorstores Updates to Vectara documentation (#8699) 2023-08-03 20:21:17 -07:00