feat(vector-store): Add Databricks Mosaic AI vector store support #3325
feat(vector-store): Add Databricks Mosaic AI vector store support #3325parshvadaftari merged 14 commits intomem0ai:mainfrom
Conversation
parshvadaftari
left a comment
There was a problem hiding this comment.
Please incorporate the requested changes.
|
@hayescode The tests are failing. Use |
@parshvadaftari I just discovered that the |
|
|
@parshvadaftari Databricks can compute embeddings itself (this is the most common index in Databricks). The main Memory client seems to require embeddings. Will this be able to work? Are there other vector stores that compute embeddings themselves? Databricks is unique (I'm used to Azure AI Search) in that there's an underlying table with all of the data, then another index built on top of that. |
|
@parshvadaftari this is ready now. I converted this to use the I couldn't get the make format or make lint to run on my machine. I will also be away for a few days so I clicked "Allow Edits by Maintainers" so please feel free to take this from here. One oddity i noticed making this, that I've also seen in Azure AI Search is this Line 149 in a6a3928 |
|
@hayescode Good catch! This one doesn’t impact functionality — it’s mainly there for internal consistency and to keep things aligned across environments. Nothing to worry about on your end. |
parshvadaftari
left a comment
There was a problem hiding this comment.
Looks good to me.
|
@hayescode Thanks for contributing! |
Description
Add support for Databricks Mosaic vector store to mem0. Databricks Mosaic AI is a mature and high-performance vector store at the enterprise scale. This implementation provides users with an additional vector store option alongside existing options like Qdrant, Redis, and others.
This contribution adds:
Databricks connector with full vector operations (insert, search, delete, update, get)
Comprehensive configuration management
Authentication options for service principal and personal access tokens (PAT)
Support for both types of vector stores; STANDARD and STORAGE-OPTIMIZED
Complete documentation and examples
Extensive unit tests
closes #2501
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Ran locally following CONTRIBUTING.md guidelines.
Checklist:
Maintainer Checklist