Find answers from the community

Updated 2 months ago

Quick question. Does

Quick question. Does QueryFusionRetriever generate num_queries queries for each retriever defined? In the example here 3 are generated, but for some reason I get 6 (3 for bm25 and 3 for vector?). I would prefer just the 3 since they're almost always the same...

Plain Text
Generated queries:
1. What were the major events or milestones in the history of Interleafe and Viaweb?
2. Can you provide a timeline of the key developments and achievements of Interleafe and Viaweb?
3. What were the successes and failures of Interleafe and Viaweb as companies?
L
P
8 comments
It should only be generating 3
not sure how you got 6
The code for generating queries is pretty simple too
Attachment
image.png
Yeah which is why it caught me off guard. I'll review my code.
If you are able to replicate the issue, happy to try running similar code on my end πŸ™‚
To close this out, it was user error πŸ˜• called the retriever twice
ah haha makes sense!
Add a reply
Sign up and join the conversation on Discord