Skip to content

[Question]: After adding meta_fields,the chat with assistant fails to retrieve any text blocks,even when metadata_condition is added,how can this problem be solved? #12970

@wangjuu

Description

@wangjuu

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (Language Policy).
  • Non-english title submitions will be closed directly ( 非英文标题的提交将会被直接关闭 ) (Language Policy).
  • Please do not modify this template :) and fill in all the required fields.

Describe your problem

After i pulled the nightly version of Docker image(2026.1.27),i added meta_fields to documents in the knowledge base.When using the chat with assistant interface for question and answer,i added the metadata_condition parameter.Even though the documents contained the answer to the questions,the assistant did not retrieve any relevant knowledge for the responses.
The parameters are as follows:
meta_fields = {
"doc_type": "common document"
}

"metadata_condition": {
"logic": "and",
"conditions": [
{
"name": "doc_type",
"comparison_operator": "is",
"value": "common document"
}
]
}

Metadata

Metadata

Assignees

Labels

🐞 bugSomething isn't working, pull request that fix bug.🙋‍♀️ questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions