Skip to content

Commit 4aaf3b5

Browse files
committed
Updated upsert_vectors docstring
1 parent bdc9c50 commit 4aaf3b5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/neo4j_graphrag/indexes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,8 @@ def upsert_vectors(
294294
embeddings (List[List[float]]): The list of vectors to store, one per ID.
295295
neo4j_database (Optional[str]): The name of the Neo4j database.
296296
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.
297+
entity_type (EntityType): Specifies whether to upsert to nodes ('NODE') or relationships ('RELATIONSHIP').
298+
Defaults to 'NODE'.
298299
299300
Raises:
300301
ValueError: If the lengths of IDs and embeddings do not match, or if embeddings are not of uniform dimension.

0 commit comments

Comments
 (0)