Discussion on QueryExpander
Component
#346
Replies: 1 comment
-
🔥 This is a super neat and clean implementation. Query expansion is usually treated like the “quiet middle child” of RAG, but honestly—it’s often the key to stability in weak-context setups. We’ve been experimenting with something a bit sideways to this: instead of just generating parallel queries, we use semantic shifts to simulate contradiction, missing premise, or reframing — basically like a Socratic query wiggler. For example, from
It acts almost like a hallucination vaccine — you prime the retriever to defend, not just explain. If you're interested I can share the logic layer — we just open-sourced it in this PDF: Would love to know if you’ve tried adversarial-style expansions in this |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This is the discussion board for QueryExpander component.
We introduced the
QueryExpander
component, which generates a list of semantically similar queries to the user query to improve retrieval recall in RAG.Usage example
Try it out and let us know what you think in the comments 👇
Beta Was this translation helpful? Give feedback.
All reactions