Skip to main content
Memory & AgentsCurated

Memory Retrieval Query Rewriter

When recall is poor because users phrase questions differently than they phrased the original fact.

The prompt
Here's a user's current message: [paste] and their last 5 memory entries: [paste]. Rewrite the message into an optimal retrieval query that would surface the most relevant older memories, even if the wording differs.

Anything in square brackets is meant to be replaced. The builder turns those into fields you can type into.

Tired of re-pasting the same context into every new chat? That is what the Unimatrix MCP server is for.

Browse the rest of the library