Find answers from the community

Updated 3 months ago

I think i found a bug in

I think i found a bug in KnowledgeGraphRAGRetriever code, it will get the "graph_query_synthesis_prompt" into "KnowledgeGraphQueryEngine" from kwargs but also leave it in the kwargs, result in TypeError: llama_index.query_engine.knowledge_graph_query_engine.KnowledgeGraphQueryEngine() got multiple values for keyword argument 'graph_query_synthesis_prompt'
Attachment
image.png
B
L
3 comments
adding
Plain Text
 if graph_query_synthesis_prompt:
                del kwargs["graph_query_synthesis_prompt"]

after the value reading from kwargs will solve it
I will open a PR
yea definitely make a PR for it!
Add a reply
Sign up and join the conversation on Discord