You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library does not provide functionality to write data to the database.
58
-
See below for how to do this using [the Neo4j Python driver](https://github.com/neo4j/neo4j-python-driver).
65
+
Note that the below example is not the only way you can upsert data into your Neo4j database. For example, you could also leverage [the Neo4j Python driver](https://github.com/neo4j/neo4j-python-driver).
59
66
60
67
Assumption: Neo4j running with a defined vector index
Copy file name to clipboardExpand all lines: docs/source/index.rst
+23-15Lines changed: 23 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,20 @@ The purpose of this package is to provide a first party package to developers,
12
12
where Neo4j can guarantee long term commitment and maintenance as well as being
13
13
fast to ship new features and high performing patterns and methods.
14
14
15
+
Neo4j versions supported:
16
+
17
+
* Neo4j >=5.18.1
18
+
* Neo4j Aura >=5.18.0
19
+
20
+
Python versions supported:
21
+
22
+
* Python 3.12
23
+
* Python 3.11
24
+
* Python 3.10
25
+
* Python 3.9
26
+
* Python 3.8
27
+
28
+
15
29
******
16
30
Topics
17
31
******
@@ -93,14 +107,13 @@ See :ref:`the API documentation<create-vector-index>` for more details.
93
107
Populating the Neo4j Vector Index
94
108
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
95
109
96
-
This library does not provide functionality to write data to the database.
97
-
See below for writing data using `the Neo4j Python driver <https://github.com/neo4j/neo4j-python-driver>`_.
110
+
Note that the below example is not the only way you can upsert data into your Neo4j database. For example, you could also leverage `the Neo4j Python driver <https://github.com/neo4j/neo4j-python-driver>`_.
98
111
99
112
100
113
.. code:: python
101
114
102
115
from neo4j import GraphDatabase
103
-
fromrandomimportrandom
116
+
fromneo4j_genai.indexesimportupsert_query
104
117
105
118
URI="neo4j://localhost:7687"
106
119
AUTH= ("neo4j", "password")
@@ -109,18 +122,13 @@ See below for writing data using `the Neo4j Python driver <https://github.com/ne
0 commit comments