Skip to content

[Bug]: Add document meta_fields,but it cant't work when I converse with chat assistant #12865

@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.

RAGFlow workspace code commit ID

4321e567

RAGFlow image version

infiniflow/ragflow:v0.23.1

Other environment information

Actual behavior

I update document to add meta_fields after upload a document,however,when i call the converse with chat assistant interface,even if i use metadata_condition for classification,it still retrieves other types of documents

Expected behavior

I want to distinguish documents based on the meta_fields,and be able to extract the text from the corresponding document when calling converse with chat assistant interface to answer questions,without involving other types of documents.

Steps to reproduce

The following interfaces were used in sequence
1.upload documents
2.update document->add meta_fields
meta_fields={
    "doc_type":"contract"
}
3.parse documents

4.converse with chat assistant->use metadata_condition
"metadata_condition":{
    "logic":"and",
    "condition":[
    {
        "name":"doc_type",
        "comparison_operator":"is",
        "value":"contract"
     }]
}

Additional information

No response

Metadata

Metadata

Assignees

Labels

🐞 bugSomething isn't working, pull request that fix bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions