File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ Assumption: Neo4j running with a defined vector index
6868
6969``` python
7070from neo4j import GraphDatabase
71- from neo4j_genai.indexes import upsert_query
71+ from neo4j_genai.indexes import upsert_vector
7272
7373URI = " neo4j://localhost:7687"
7474AUTH = (" neo4j" , " password" )
@@ -78,7 +78,7 @@ driver = GraphDatabase.driver(URI, auth=AUTH)
7878
7979# Upsert the vector
8080vector = ...
81- upsert_query (
81+ upsert_vector (
8282 driver,
8383 node_id = 1 ,
8484 embedding_property = " vectorProperty" ,
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ Note that the below example is not the only way you can upsert data into your Ne
113113.. code :: python
114114
115115 from neo4j import GraphDatabase
116- from neo4j_genai.indexes import upsert_query
116+ from neo4j_genai.indexes import upsert_vector
117117
118118 URI = " neo4j://localhost:7687"
119119 AUTH = (" neo4j" , " password" )
@@ -123,7 +123,7 @@ Note that the below example is not the only way you can upsert data into your Ne
123123
124124 # Upsert the vector
125125 vector = ...
126- upsert_query (
126+ upsert_vector (
127127 driver,
128128 node_id = 1 ,
129129 embedding_property = " vectorProperty" ,
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ def upsert_vector(
251251 .. code-block:: python
252252
253253 from neo4j import GraphDatabase
254- from neo4j_genai.indexes import upsert_query
254+ from neo4j_genai.indexes import upsert_vector
255255
256256 URI = "neo4j://localhost:7687"
257257 AUTH = ("neo4j", "password")
@@ -260,7 +260,7 @@ def upsert_vector(
260260 driver = GraphDatabase.driver(URI, auth=AUTH)
261261
262262 # Upsert the vector data
263- upsert_query (
263+ upsert_vector (
264264 driver,
265265 node_id="nodeId",
266266 embedding_property="vectorProperty",
You can’t perform that action at this time.
0 commit comments