-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Didn't extract any relationships with gpt_4o_mini_complete, working with gpt_4o_mini_complete #301
Comments
I'm not sure it's related, but when using the mini there is still a warning but it's seemingly unrelated:
I'm not actually issuing queries at this point, just creating the KGs for my docs. |
You should check the output from the LLM during the extraction process. You can directly review the cache files to see if the output is as expected. This can help determine whether the issue lies in the LLM's response or elsewhere in the pipeline. |
Ok, thanks, I'll take a look and report back |
I've had a look at However, on the response cache I see this:
Which I suspect is the source of the warning I reported. Would you agree? If so, is there a way to guide the LLM when initiating this process on how to establish entities and relationships? |
Yes, I think that is the root cause of the issue. Modifying the entity types in |
I came across this issue while processing a large number of files. The warning message |
When using gpt_4o_complete to create the knowledge graph I'm seeing the warning:
WARNING:lightrag:Didn't extract any relationships, maybe your LLM is not working
Instantiation looks like this:
I don't see the same warning when using gpt_4o_mini_complete
The app is creating a knowledge graph for chunks of some markdown files (originally converted from PDF)
Any thoughts on what could be causing this?
The text was updated successfully, but these errors were encountered: