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
Updated several vector db docs to fix errors and to expand on instructions, making it easier to follow and complete successfully: Azure AI Search, Neo4j, and Postgres/PGvector
1. OpenAI Account: Create an account at link:https://platform.openai.com/signup[OpenAI Signup] and generate the token at link:https://platform.openai.com/account/api-keys[API Keys].
16
16
17
17
2. A running Neo4j (5.13+) instance
18
-
a. link:https://hub.docker.com/_/neo4j[Docker] image _neo4j:5.13_
18
+
a. link:https://hub.docker.com/_/neo4j[Docker] image _neo4j:5.15_
19
19
b. link:https://neo4j.com/download/[Neo4j Desktop]
20
20
c. link:https://neo4j.com/cloud/aura-free/[Neo4j Aura]
21
21
d. link:https://neo4j.com/deployment-center/[Neo4j Server] instance
22
22
23
23
== Configuration
24
24
25
-
To connect to Neo4j and use the `Neo4jVectorStore`, you need to provide (e.g. via `application.properties`) configurations for your instance.
25
+
To connect to Neo4j and use the `Neo4jVectorStore`, you need to provide (e.g. via `application.properties`, environment variables, etc.) configurations for your instance.
26
26
27
27
Additionally, you'll need to provide your OpenAI API Key. Set it as an environment variable like so:
28
28
@@ -77,5 +77,38 @@ Add these dependencies to your project:
77
77
78
78
To configure `Neo4jVectorStore` in your application, you can use the following setup:
79
79
80
-
Add to `application.properties` (using your Neo4j credentials):
80
+
Add to your environment (using your own Neo4j credentials and the appropriate access protocol+endpoint) the following properties either by updating and executing the following commands or creating a shell script to be run from your command prompt (Linux/Mac/WSL2):
NOTE: If you choose to create a shell script for ease in future work, be sure to run it prior to starting your application by "sourcing" the file, i.e. `source <your_script_name>.sh`.
90
+
91
+
You'll need a `VectorStore` to store the embeddings. You can use the `Neo4jVectorStore` for this purpose, but first, you must create two beans the `Neo4jVectorStore` constructor requires. Here are examples of all of the beans you'll need:
0 commit comments