Add Apache Cassandra vector store support#3578
Merged
parshvadaftari merged 4 commits intomem0ai:mainfrom Oct 17, 2025
Merged
Conversation
- Implemented CassandraDB vector store with full CRUD operations - Added support for DataStax Astra DB via secure connect bundle - Created comprehensive test suite (17 tests, all passing) - Added documentation for both standard Cassandra and Astra DB - Updated factory and config files to register new provider - Added cassandra-driver dependency to pyproject.toml Features: - Vector insertion with automatic ID generation - Cosine similarity search with filtering support - Vector updates (vector and payload) - Collection management (create, delete, list, info, reset) - Connection pooling via cassandra-driver - Support for both self-hosted and cloud (Astra DB) Tests: 17/17 passing
fcf1fc5 to
5fd46ae
Compare
Contributor
|
Hey @faizan842 thanks for making this integration. We'll review it and update you back. |
Contributor
|
Hey @faizan842 can you check for the failing tests? |
- Remove unused imports: Session, PreparedStatement from cassandra imports - Remove unused MagicMock import from test file - All tests still passing (17/17)
Contributor
Author
@parshvadaftari I've fixed the linting errors:
Thanks for the feedback! |
parshvadaftari
suggested changes
Oct 17, 2025
Contributor
parshvadaftari
left a comment
There was a problem hiding this comment.
Rest looks good to me, please incorporate changes.
- Removed docs/v0x/components/vectordbs/dbs/cassandra.mdx - Updated docs.json to remove v0x reference - Keeping only main documentation for 1.0.0 version Addresses maintainer feedback from @parshvadaftari
- Fixed indentation in platform features section - v0x cassandra reference already removed in previous commit
Contributor
Author
Done! |
parshvadaftari
approved these changes
Oct 17, 2025
Contributor
parshvadaftari
left a comment
There was a problem hiding this comment.
Looks good to me.
Contributor
|
@faizan842 Thank you for contributing to mem0! |
rahulsharmavishwakarma
added a commit
to rahulsharmavishwakarma/mem0
that referenced
this pull request
Oct 20, 2025
This reverts commit 9ef644b.
rahulsharmavishwakarma
added a commit
to rahulsharmavishwakarma/mem0
that referenced
this pull request
Oct 20, 2025
…"" This reverts commit 38bbb5b.
garciaba79
pushed a commit
to garciaba79/mem0
that referenced
this pull request
Feb 12, 2026
jamebobob
pushed a commit
to jamebobob/mem0-vigil-recall
that referenced
this pull request
Mar 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features:
Tests: 17/17 passing
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Please delete options that are not relevant.
Checklist:
Maintainer Checklist