We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdc9c50 commit 4aaf3b5Copy full SHA for 4aaf3b5
src/neo4j_graphrag/indexes.py
@@ -294,7 +294,8 @@ def upsert_vectors(
294
embeddings (List[List[float]]): The list of vectors to store, one per ID.
295
neo4j_database (Optional[str]): The name of the Neo4j database.
296
If not provided, defaults to the server's default database. 'neo4j' by default.
297
- entity_type (EntityType): Specifies whether to upsert to nodes or relationships.
+ entity_type (EntityType): Specifies whether to upsert to nodes ('NODE') or relationships ('RELATIONSHIP').
298
+ Defaults to 'NODE'.
299
300
Raises:
301
ValueError: If the lengths of IDs and embeddings do not match, or if embeddings are not of uniform dimension.
0 commit comments