I noticed in the RetrievalAugmentationAdvisor
code that when joining expanded query results from QueryExpander
using DocumentJoiner
, shouldn't the results be sorted by Score in descending order to prioritize documents relevant to the prompt?
I noticed in the RetrievalAugmentationAdvisor
code that when joining expanded query results from QueryExpander
using DocumentJoiner
, shouldn't the results be sorted by Score in descending order to prioritize documents relevant to the prompt?