Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/examples/python/memory_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
# os.environ['OPENSEARCH_HOST'] = "your-opensearch-host.us-west-2.aoss.amazonaws.com"
# os.environ['AWS_ACCESS_KEY_ID'] = "your-aws-access-key-id"
# os.environ['AWS_SECRET_ACCESS_KEY'] = "your-aws-secret-access-key"
# Setup Neptune Analytics vector backend
# os.environ['NEPTUNE_ANALYTICS_GRAPH_IDENTIFIER_VECTOR'] = "g-sample-graph-id"
# Setup optional Neptune Analytics graph backend
# Setup optional Neptune Database graph backend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is not clear here. Neptune database doesn't supoort vector backend?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Neptune DB != Neptune Analytics.
Neptune DB does not support vectors, and can only be used as a graph backend.
Neptune Analytics does support vectors, and can be used as both graph and vector backend.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, I spent couple mins read docs but it has too long to follow all, if you could add related link it would be really helpful to users.

# os.environ['NEPTUNE_DATABASE_ENDPOINT'] = "your-neptune-host.us-west-2.neptune.amazonaws.com"
# Setup optional Neptune Analytics vector and graph backend
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Continue with above, Neptune Analytics supprots vector and graph backend? and below only configure graph right?
s.environ['NEPTUNE_ANALYTICS_GRAPH_IDENTIFIER'] = "g-sample-graph-id"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right. NEPTUNE_ANALYTICS_GRAPH_IDENTIFIER is used for both stores, one connection identifier.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@andy-k-improving should we link to the mem0 docs here?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think so, example itself should be self-contained and information sufficient for users.

# os.environ['NEPTUNE_ANALYTICS_GRAPH_IDENTIFIER'] = "g-sample-graph-id"
USER_ID = "mem0_user"

Expand Down