-
Notifications
You must be signed in to change notification settings - Fork 76
Failed to create nodes #291
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
Comments
Hi @BDHU , You're facing one of the known limitations of the current status of this package, which is we're not yet enforcing enough the output format for the LLM to follow. At the moment, the only thing you can do is try a more capable LLM to see if it improves the behavior. |
Hey @stellasia, I would like to contribute this. Please let me know what's your plan to fix this limitation and how I can get started. |
@stellasia any ideas on how this situation can be better improved? For example experimenting with different LLMs and giving example benchmarks for users. This can help us to hypothesize what's more important when chosing an LLM for say building KGs. For example I have the hypothesis that LLMs with larger context windows will be better but experimenting will give us some empirical data on the recommended model size for a usecase. |
I try to populate a local neo4j database using the following python code:
However, I noticed it started to create the warning message:
LLM response has improper format for chunk_index=
for every chunk. The final error message is like this:Received notification from DBMS server: {severity: WARNING} {code: Neo.ClientNotification.Statement.UnknownLabelWarning} {category: UNRECOGNIZED} {title: The provided label is not in the database.} {description: One of the labels in your query is not available in the database, make sure you didn't misspell it or that the label is available when you run this statement in your application (the missing label name is: __Entity__)} {position: line: 1, column: 15, offset: 14} for query: 'MATCH (entity:__Entity__) RETURN count(entity) as c' Result: run_id='66af88ce-afcc-47dc-9154-32a7299ddee0' result={'resolver': {'number_of_nodes_to_resolve': 0, 'number_of_created_nodes': None}}
I also tried initializing
SimpleKGPipeline
like this:It produces the same error:
I feel like this problem is caused by the LLM I used to extract the graph relationship. Any ideas on how to fix this issue? Thanks!
The text was updated successfully, but these errors were encountered: