Find answers from the community

Updated 2 weeks ago

Selecting the Best Matching Node from Multiple Documents

Hi @All

I have 2 documents as 2 guide files on different topics in one index. When querying a guide, both documents contain that guide, and when the source returns, it also provides nodes from those 2 documents. How can I select the node that best matches the answer?
W
B
4 comments
@Logan M worked on something for this particular usecase: https://llamahub.ai/l/llama-packs/llama-index-packs-fuzzy-citation?from=

This helps you to identify the nodes which have been used to form the answer
Can it be combined with CondensePlusContextChatEngine and streaming? give me an example
CondensePlusContextChatEngine takes in a retreiver, You can modify the Fuzzy citation code to create a retriver and then pass it on to the CondensePlusContextChatEngine
@WhiteFang_Jr Do you have an example. I haven't found a way to handle it yet.
Add a reply
Sign up and join the conversation on Discord