Add app_id
Signed-off-by: Andy Kwok <andy.kwok@improving.com>
This commit is contained in:
parent
06c4262cc7
commit
ae8fc7f0c9
1 changed files with 4 additions and 0 deletions
|
|
@ -13,6 +13,7 @@ from cognee.infrastructure.databases.graph.graph_db_interface import (
|
||||||
)
|
)
|
||||||
from cognee.modules.storage.utils import JSONEncoder
|
from cognee.modules.storage.utils import JSONEncoder
|
||||||
from cognee.infrastructure.engine import DataPoint
|
from cognee.infrastructure.engine import DataPoint
|
||||||
|
from botocore.config import Config
|
||||||
|
|
||||||
from .exceptions import (
|
from .exceptions import (
|
||||||
NeptuneAnalyticsConfigurationError,
|
NeptuneAnalyticsConfigurationError,
|
||||||
|
|
@ -107,6 +108,9 @@ class NeptuneGraphDB(GraphDBInterface):
|
||||||
# Initialize the Neptune Analytics Graph client
|
# Initialize the Neptune Analytics Graph client
|
||||||
client_config = {
|
client_config = {
|
||||||
"graph_identifier": self.graph_id,
|
"graph_identifier": self.graph_id,
|
||||||
|
"config": Config(
|
||||||
|
user_agent_appid='Cognee'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
# Add AWS credentials if provided
|
# Add AWS credentials if provided
|
||||||
if self.region:
|
if self.region:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue