Find answers from the community

Updated 6 months ago

llama_index/llama-index-core/llama_index...

Hey guys, any help on KG pls

In the given line for KnowledgeGraphQueryEngine, the graph_query_synthesis_prompt is an optional paramter
https://github.com/run-llama/llama_index/blob/01e5173f8a272e8b7e5ccb2ae3ff215eb6c4ca6a/llama-index-core/llama_index/core/query_engine/knowledge_graph_query_engine.py#L70

but at line 132
https://github.com/run-llama/llama_index/blob/01e5173f8a272e8b7e5ccb2ae3ff215eb6c4ca6a/llama-index-core/llama_index/core/query_engine/knowledge_graph_query_engine.py#L132

its a mandatory argument for _llm.predict, I'm seeing an error, when i run query_engine.query("sample query ?")

Any help here pls
L
l
2 comments
Yea during the v0.10.x refactor, some of the text2sql prompts disappeared πŸ˜“ Been slightly delaying fixing this because the newer property graph index kind of makes this obsolete
ahhh i see, property graph, thx again @Logan M appreciate the help as always. I'll look into property graph. thx for the tip.
Add a reply
Sign up and join the conversation on Discord