cognee/examples/database_examples
Andrew Carbonetto 7d2bf78c81
Add Neptune Analytics hybrid storage (#1156)
<!-- .github/pull_request_template.md -->

## Description
Adds a Neptune Analytics 'hybrid' integration layer to the Cognee.ai
memory storage layer. The following configuration will use Amazon
Neptune Analytics to store all nodes, edges, and vector embeddings for
the Cognee.ai memory conversation.

```
    cognee.config.set_graph_db_config(
        {
            "graph_database_provider": "neptune_analytics",  # Specify Neptune Analytics as provider
            "graph_database_url": graph_endpoint_url,  # Neptune Analytics endpoint with the format neptune-graph://<GRAPH_ID>
        }
    )
    cognee.config.set_vector_db_config(
        {
            "vector_db_provider": "neptune_analytics",  # Specify Neptune Analytics as provider
            "vector_db_url": graph_endpoint_url,  # Neptune Analytics endpoint with the format neptune-graph://<GRAPH_ID>
        }
    )
```

For example, see
[neptune_analytics_example.py](08a3a1d2a8/examples/database_examples/neptune_analytics_example.py)

Related: https://github.com/topoteretes/cognee-starter/pull/11

## DCO Affirmation
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

---------

Signed-off-by: Andrew Carbonetto <andrew.carbonetto@improving.com>
Signed-off-by: Andy Kwok <andy.kwok@improving.com>
Co-authored-by: Andy Kwok <andy.kwok@improving.com>
Co-authored-by: Vasilije <8619304+Vasilije1990@users.noreply.github.com>
2025-08-05 10:05:31 +02:00
..
chromadb_example.py feat: Test db examples (#817) 2025-05-16 09:30:47 +02:00
falkordb_example.py feat: Test db examples (#817) 2025-05-16 09:30:47 +02:00
kuzu_example.py feat: Test db examples (#817) 2025-05-16 09:30:47 +02:00
neo4j_example.py feat: Test db examples (#817) 2025-05-16 09:30:47 +02:00
neptune_analytics_example.py Add Neptune Analytics hybrid storage (#1156) 2025-08-05 10:05:31 +02:00
pgvector_example.py feat: Test db examples (#817) 2025-05-16 09:30:47 +02:00
qdrant_example.py feat: Test db examples (#817) 2025-05-16 09:30:47 +02:00