mem0 icon indicating copy to clipboard operation
mem0 copied to clipboard

Feature: baidu vector db integration

Open WayneCao opened this issue 5 months ago • 7 comments

Description

Integration of Baidu Vector Database (BaiduDB) as a vector store backend. This implementation provides a complete interface for vector operations including insert, search, update, and delete operations, with support for metadata filtering and similarity search.

Type of change

Please delete options that are not relevant.

  • [ ] Bug fix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Refactor (does not change functionality, e.g. code style improvements, linting)
  • [x] Documentation update

Checklist:

  • [x] My code follows the style guidelines of this project
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] I have made corresponding changes to the documentation
  • [x] My changes generate no new warnings
  • [x] I have added tests that prove my fix is effective or that my feature works
  • [x] New and existing unit tests pass locally with my changes
  • [x] Any dependent changes have been merged and published in downstream modules
  • [x] I have checked my code and corrected any misspellings

Maintainer Checklist

  • [ ] closes #xxxx (Replace xxxx with the GitHub issue number)
  • [ ] Made sure Checks passed

WayneCao avatar Jun 09 '25 05:06 WayneCao

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Jun 09 '25 05:06 CLAassistant

Thanks for opening the PR @WayneCao. Can you please sign the CLA before we can review the PR?

deshraj avatar Jun 09 '25 06:06 deshraj

Thanks for opening the PR @WayneCao. Can you please sign the CLA before we can review the PR?

Thank you for the reminder! I have signed the CLA.

WayneCao avatar Jun 09 '25 06:06 WayneCao

@deshraj we have a customer waiting to use mem0 and VectorDB on Baidu Cloud, we're planning to present this to them next week, would greatly appreciate merging the code ASAP to support the demo. Thanks a lot in advance!

VectorDB on Baidu Cloud https://cloud.baidu.com/product/vdb.html

Baidu Cloud https://intl.cloud.baidu.com/

jiangyanguo999 avatar Jun 16 '25 16:06 jiangyanguo999

Also @WayneCao Can you please resolve the merge conflicts?

Dev-Khant avatar Jun 16 '25 16:06 Dev-Khant

Also @WayneCao Can you please resolve the merge conflicts?

Got it, I'll resolve the merge conflicts right away and push the fix.

WayneCao avatar Jun 17 '25 11:06 WayneCao

@WayneCao Can you please also add baidu here as well: https://github.com/mem0ai/mem0/blob/main/docs/docs.json#L134?

Dev-Khant avatar Jun 17 '25 12:06 Dev-Khant

@WayneCao Can you please also add baidu here as well: https://github.com/mem0ai/mem0/blob/main/docs/docs.json#L134?

Baidu has been added as requested.

WayneCao avatar Jun 18 '25 03:06 WayneCao

Hey @WayneCao Changes looks good to me, thanks for the contribution!

Dev-Khant avatar Jun 19 '25 05:06 Dev-Khant

@Dev-Khant Thank you very much. We're hopeful that our clients will accept the mem0 and vdb solution, If there’s progress, we will also share them with the community.

jiangyanguo999 avatar Jun 19 '25 08:06 jiangyanguo999