Log in
Log into community
Find answers from the community
View all posts
Related posts
Did this answer your question?
π
π
π
Powered by
Hall
Inactive
Updated 6 months ago
0
Follow
llama_index/llama-index-core/llama_index...
llama_index/llama-index-core/llama_index...
Inactive
0
Follow
l
llm_dev
6 months ago
Β·
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
Share
Open in Discord
L
Logan M
6 months ago
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
l
llm_dev
6 months ago
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
Join on Discord