RePhraseQuery is a simple retriever that applies an LLM between the user input and the query passed by the retriever.
It can be used to pre-process the user input in any way.
Example
Setting up
Create a vector store.Using the default prompt
The default prompt used in thefrom_llm classmethod:
Custom prompt
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.