Neo4J
Unstable API
0.8.0
@project-lakechain/neo4j-storage-connector
The Neo4J connector makes it easy for developers to store CloudEvents ontologies in a Neo4j graph database. This connector makes it possible to store structured ontologies into a Neo4J database, whether it is hosted on AWS, on-premises, or on the Neo4J AuraDB service.
This connector is a very good choice for use-cases involving the storage of document as a knowledge graph.
đ The Ontology documentation provides information about the standard structure of nodes and edges defined by Project Lakechain.
đī¸ Indexing Documents
To use the Neo4J storage connector, you import it in your CDK stack, and connect it to a data source providing documents.
âšī¸ You will also need to provide credentials stored in AWS Secrets Manager to the Neo4j storage connector.
âī¸ Credentials
This middleware currently only supports basic authentication with Neo4j. You can provide the credentials to the connector by creating a secret in AWS Secrets Manager that follows the following structure.
đ VPC
If you have Neo4j instances deployed within a VPC private subnet, you can use the .withVpc
method to provide the VPC instance to use to the middleware.
âšī¸ Limits
The Neo4j storage connector middleware has several limitations that we document in this section.
- The first limitation is that only basic authentication is supported by the connector at the moment.
- Another limitation is that the connector will not store vector embeddings associated with a document into the database, only document metadata ontologies.
đī¸ Architecture
This middleware is based on a Lambda ARM64 compute to perform the indexing of Nodes and Edges associated with the current document ontology into the destination Neo4J database. It also leverages AWS Secrets Manager to retrieve the Neo4J credentials at runtime.
đˇī¸ Properties
Supported Inputs
Mime Type | Description |
---|---|
*/* | This middleware supports any type of documents. |
Supported Outputs
This middleware does not produce any output.
Supported Compute Types
Type | Description |
---|---|
CPU | This middleware only supports CPU compute. |
đ Examples
- Knowledge Graph Pipeline - Builds a pipeline for semantic ontology extraction from documents.