Skip to content

Commit f7061ae

Browse files
committed
Fixed README issue
1 parent 4aaf3b5 commit f7061ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ Ensure that your vector index is created prior to executing this example.
195195
from neo4j import GraphDatabase
196196
from neo4j_graphrag.embeddings import OpenAIEmbeddings
197197
from neo4j_graphrag.indexes import upsert_vectors
198+
from neo4j_graphrag.types import EntityType
198199

199200
NEO4J_URI = "neo4j://localhost:7687"
200201
NEO4J_USERNAME = "neo4j"
@@ -219,7 +220,7 @@ upsert_vectors(
219220
ids=["1234"],
220221
embedding_property="vectorProperty",
221222
embeddings=[vector],
222-
entity_type="NODE"
223+
entity_type=EntityType.NODE,
223224
)
224225
driver.close()
225226
```

0 commit comments

Comments
 (0)