Open martinohanlon opened 1 month ago
Hi @martinohanlon , thank you for the request!
In v1.2.0 (released today), it is possible to configure the labels, but only in the low-level API (see this example).
We're working on improving the SimpleKGPipeline
interface, but this can be a solution for you in the meantime.
It would be useful to fit into existing models to be able to configure the node labels and relationship types when using the SimpleKGPipeline.
e.g. being able to modify these constraints at run time.
https://github.com/neo4j/neo4j-graphrag-python/blob/main/src/neo4j_graphrag/experimental/components/entity_relation_extractor.py#L55
edit - update the link to the code