Repository navigation
In Didy1.13.3, when searching the knowledge base, it seems like metadata filtering isn't working. #45592
Unanswered
Spell-maker-Y
asked this question in
Help
Replies: 1 comment
|
Hi @Spell-maker-Y! I'm Dosu and I'm helping the Dify team. This matches a bug fixed in v1.14.1 by PR #35700. Your placement of Upgrade to a release containing that fix, then retry the same request. The v1.14.1 release notes and upgrade guide explicitly include it; follow the documented backup and migration steps for your deployment. Moving the filter elsewhere in the JSON won't address this schema bug. [3] [2] To reply, just mention @dosu. Share context across your team and agents. Try Dosu. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I set up the metadata for the documents and made sure that the metadata for each document was set successfully, but when I searched, I found that the metadata filter didn't work.
I used the following search query, and the result is that the course_id is 42, not 37.
{
"query": "Recall similar historical six-dimensional scores, weak point risks, upper and lower limb analysis, overall conclusions, doctor's advice, and training suggestions, focusing on cardiovascular endurance, explosive power, flexibility, trunk control, upper and lower limb coordination, and compensation risks.",
"retrieval_model": {
"search_method": "semantic_search",
"reranking_enable": false,
"top_k": 3,
"score_threshold_enabled": false,
"metadata_filtering_conditions": {
"logical_operator": "and",
"conditions": [
{
"name": "course_id",
"comparison_operator": "is",
"value": "37"
}
]
}
}
}
2. Additional context or comments
All reactions