Self Checks
Dify version
1.14.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Step:
- Upload a file and turn on [Enable Summary]. Chunk summary is successful created.
- Upload same file to same dataset. (From now, Summary setting is disappered)
- Summary will not be regenrated at all. But summary data is still in database. (Vector data seems like same)
- Regerate summary from button at the top of the page. New summary generated but old data still in the database.
Postion:
When upload same file, knowledge_config.duplicate is True and only go into DuplicateDocumentIndexingTask.
|
if document_ids: |
|
DocumentIndexingTaskProxy(dataset.tenant_id, dataset.id, document_ids).delay() |
|
if duplicate_document_ids: |
|
DuplicateDocumentIndexingTaskProxy( |
|
dataset.tenant_id, dataset.id, duplicate_document_ids |
|
).delay() |
✔️ Expected Behavior
- Generate new summary when upload same file.
- Clear old summary pg data.
- Clear old summary vector data.
❌ Actual Behavior
No response
Self Checks
Dify version
1.14.2
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
Step:
Postion:
When upload same file, knowledge_config.duplicate is True and only go into DuplicateDocumentIndexingTask.
dify/api/services/dataset_service.py
Lines 2307 to 2312 in eae44cf
✔️ Expected Behavior
❌ Actual Behavior
No response