[PR #5586] feat: support AnalyticDB vector store #24983

Closed
opened 2026-02-21 20:24:03 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/5586

State: closed
Merged: Yes


Description

  • AnalyticDB offers enterprise-level vector database services tailored for generative AI applications. For further information, please see here
  • This PR utilizes alibabacloud_gpdb20160503 and alibabacloud_tea_openapi for database connectivity. It leverages a pure HTTP client architecture, hence a Docker image is not provided.
  • Implemented and successfully executed AnalyticDBTest using certain AK/SK.
  • Due to local issues with Poetry, this PR does not directly add new dependencies to pyproject.toml. Could a maintainer kindly add the following dependencies?
poetry add alibabacloud_gpdb20160503="~3.8.0"
poetry add alibabacloud_tea_openapi="~0.3.9"

Type of Change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update, included: Dify Document
  • Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement
  • Dependency upgrade

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

  • Added the AnalyticdbVectorTest integration test which successfully passed using certain service credentials (AK/SK).

Suggested Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • I ran dev/reformat(backend) and cd web && npx lint-staged(frontend) to appease the lint gods
  • optional I have made corresponding changes to the documentation
  • optional I have added tests that prove my fix is effective or that my feature works
  • optional New and existing unit tests pass locally with my changes
**Original Pull Request:** https://github.com/langgenius/dify/pull/5586 **State:** closed **Merged:** Yes --- # Description - AnalyticDB offers enterprise-level vector database services tailored for generative AI applications. For further information, please see [here](https://www.alibabacloud.com/en/product/hybriddb-postgresql?_p_lc=1) - This PR utilizes `alibabacloud_gpdb20160503` and `alibabacloud_tea_openapi` for database connectivity. It leverages a pure HTTP client architecture, hence a Docker image is not provided. - Implemented and successfully executed AnalyticDBTest using certain AK/SK. - Due to local issues with Poetry, this PR does not directly add new dependencies to pyproject.toml. Could a maintainer kindly add the following dependencies? ```sh poetry add alibabacloud_gpdb20160503="~3.8.0" poetry add alibabacloud_tea_openapi="~0.3.9" ``` ## 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) - [ ] This change requires a documentation update, included: [Dify Document](https://github.com/langgenius/dify-docs) - [ ] Improvement, including but not limited to code refactoring, performance optimization, and UI/UX improvement - [ ] Dependency upgrade # 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 - [x] Added the AnalyticdbVectorTest integration test which successfully passed using certain service credentials (AK/SK). # Suggested Checklist: - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [x] My changes generate no new warnings - [x] I ran `dev/reformat`(backend) and `cd web && npx lint-staged`(frontend) to appease the lint gods - [ ] `optional` I have made corresponding changes to the documentation - [x] `optional` I have added tests that prove my fix is effective or that my feature works - [x] `optional` New and existing unit tests pass locally with my changes
yindo added the pull-request label 2026-02-21 20:24:03 -05:00
yindo closed this issue 2026-02-21 20:24:03 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#24983