Create graph "properties" (using LLMGraphTransformer.convert_to_graph_documents) #20892
pierreoberholzer
announced in
Ideas
Replies: 1 comment 7 replies
-
I fail to see how adding properties would speed up the extraction |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Checked
Feature request
Add the notion of
properties
to the nodes and relationships generated by theLLMGraphTransformer.convert_to_graph_documents
method.Motivation
The
process_response
method inLLMGraphTransformer.convert_to_graph_documents
is very slow in case a complex JSON is passed as an input (e.g. 60-90s). It seems that passingallowed_nodes
andallowed_relationships
helps, but with the major issue of losing content.Proposal (If applicable)
The proposal is adjust the output model so that ALL content is mapped under nodes/relationships
properties
. This would smoothly integrate with Neo4j for example, which supports properties.FYI @tomasonjo
Beta Was this translation helpful? Give feedback.
All reactions