Replies: 1 comment
-
The However, the current implementation may still rely on exact matches of synonyms to node names, which could lead to issues if the synonyms do not match perfectly. Additional logic, such as fuzzy matching techniques, might be needed to handle such variations more effectively. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to understand the graphRAG implementation in langchain, and something I can"t find is how do you manage node names that are similar at retrieval time ? For example here: https://github.com/run-llama/llama_index/blob/main/llama-index-core/llama_index/core/indices/property_graph/sub_retrievers/llm_synonym.py#L91 You generate synonyms and I just see a basic node search by name in the graph. So you expect one of the synonyms to perfectly match one given node name? What if the node names are composed like "Tomato sauce" and the synonym is like "tomato sauces" (plural? different case?).
Thank you for your help
Beta Was this translation helpful? Give feedback.
All reactions