This is an n8n community node. It lets you use Neo4j in your n8n workflows using LangChain.
Neo4j is a graph database with vector search for knowledge graphs.
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Credentials
Compatibility
Usage
Resources
Version history
Follow the installation guide in the n8n community nodes documentation.
List the operations supported by your node.
To connect to your graph database, you will need your instance url (including protecol and port), your database name and a user/password.
Tested against n8n 1.45.1
Use as any other AI VectorStore node in n8n. AI Nodes are still in Beta state and are only compatible with the Docker image docker.n8n.io/n8nio/n8n:ai-beta
.
Vector Store nodes in n8n have three modes: Get Many, Insert Documents and Retrieve Documents. The mode you select determines the operations you can perform with the node and what inputs and outputs are available.
- Get Many In this mode, you can retrieve multiple documents from your vector database by providing a prompt. The prompt will be embedded and used for similarity search. The node will return the documents that are most similar to the prompt with their similarity score. This is useful if you want to retrieve a list of similar documents and pass them to an agent as additional context.
- Insert Documents Use insert documents mode to insert new documents into your vector database.
- Retrieve Documents (For Agent/Chain) Use Retrieve Documents mode with a vector-store retriever to retrieve documents from a vector database and provide them to the retriever connected to a chain. In this mode you must connect the node to a retriever node or root node.
Commun paramter : Neo4j index name
Additional parameters for Get Many: Prompt Limit
Additional parameters for Insert Documents/Retrieve documents: Cypher Query
1.0 : first runnable version of Neo4j VectorStore node