neo4j / neo4j-graphrag-python

Neo4j GraphRAG for Python
https://neo4j.com/docs/neo4j-graphrag-python/current/
Other
238 stars 39 forks source link

Allow "IF NOT EXISTS" Option When Creating Index #157

Closed zach-blumenfeld closed 1 month ago

zach-blumenfeld commented 1 month ago

Currently, create_vector_index will fail if the index already exists. I also don't have a method in this package, AFAIK, to check if an index already exists.

I think it's important for ingest programs to not terminate in these cases (i.e. running a recurring doc ingest into the same Neo4j DB). Can we have an argument or additional method to create an index "if not exists"