Find answers from the community

k
kyang
Offline, last seen last month
Joined September 25, 2024
k
kyang
·

Nodes

Hi!

Right now creating the Neo4jPropertyGraphStore takes insanely long every time I start it up from an existing graph store. I only have 64322 nodes in the store right now. Is there some way I can speed this up? Should I simplify the schema since I generated using the DynamicLLMPathExtractor? Is there a way to give it more memory/cores?

I manage to debug the problem down to
Plain Text
schema_counts = self.structured_query(
            "CALL apoc.meta.graphSample()
22 comments
L
k
Hi! Is there a way to increase the number of nodes returned by the retriever for a PropertyGraphIndex? It looks like it uses the default limit of 30 and there is no way to access that parameter.
4 comments
k
L
Hi, for PropertyGraphIndex's many extractors (WLOG DynamicLLMPathExtractor), can I call them directly on a Document since they are just transforms? I see that that's whats happening under the hood when I insert them but when I call them directly, I'm just getting a node back with the document text and no additional nodes and relations.
11 comments
L
k
O
Hi! For entity and relation properties, looking through the code it looks like you define a single str list of properties. Does this mean that all the properties are shared between all the entities? (For PropertyGraphIndex and extractors)
17 comments
k
L
Hi, does anyone know how to use kg_schema_cls in SchemaLLMPathExtractor? I can't seem to find documentation about it online?
9 comments
O
L