dify icon indicating copy to clipboard operation
dify copied to clipboard

Bug Report: when using OceanBase as vector store, metadata filtering is not supported

Open hsiong opened this issue 9 months ago • 0 comments

Self Checks

  • [x] This is only for bug report, if you would like to ask a question, please head to Discussions.
  • [x] I have searched for existing issues search for existing issues, including closed ones.
  • [x] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • [x] Please do not modify this template :) and fill in all the required fields.

Dify version

v1.1.2

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

  1. change VECTOR_STORE from weaviate to oceanbase
  2. add a file to the knowledge base
  3. attach metadata to this file, for example: 'area=1234'
  4. retrieve oceanbase with metadata filtering like 'area contains 1234'

✔️ Expected Behavior

Retrive knowledge with metadata filtering as below:

Image

❌ Actual Behavior

Retrive nothing

Image

hsiong avatar Mar 23 '25 12:03 hsiong