From ae8fc7f0c9329e9463bcd387e6cf5d1745ab730d Mon Sep 17 00:00:00 2001 From: Andy Kwok Date: Fri, 1 Aug 2025 17:40:08 -0700 Subject: [PATCH] Add app_id Signed-off-by: Andy Kwok --- .../infrastructure/databases/graph/neptune_driver/adapter.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cognee/infrastructure/databases/graph/neptune_driver/adapter.py b/cognee/infrastructure/databases/graph/neptune_driver/adapter.py index eb9f65004..12a963ca6 100644 --- a/cognee/infrastructure/databases/graph/neptune_driver/adapter.py +++ b/cognee/infrastructure/databases/graph/neptune_driver/adapter.py @@ -13,6 +13,7 @@ from cognee.infrastructure.databases.graph.graph_db_interface import ( ) from cognee.modules.storage.utils import JSONEncoder from cognee.infrastructure.engine import DataPoint +from botocore.config import Config from .exceptions import ( NeptuneAnalyticsConfigurationError, @@ -107,6 +108,9 @@ class NeptuneGraphDB(GraphDBInterface): # Initialize the Neptune Analytics Graph client client_config = { "graph_identifier": self.graph_id, + "config": Config( + user_agent_appid='Cognee' + ) } # Add AWS credentials if provided if self.region: