[PR #114] [MERGED] Feat: Support re-segmentation #22310

Closed
opened 2026-02-21 20:18:40 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/114
Author: @JzoNgKVO
Created: 5/20/2023
Status: Merged
Merged: 6/1/2023
Merged by: @JohnJyong

Base: mainHead: feat/re-segmentation


📝 Commits (10+)

  • 54226ec fix: import wrong user
  • 4780480 add re_segment document function
  • 08da907 Merge branch 'main' into feat/re-segmentation
  • a414957 Merge branch 'fix/import-wrong-user' into feat/re-segmentation
  • ffa8e4c add re_segment document param check
  • 14c6bd2 feat: support re-segmentation
  • 96f463f Merge branch 'main' into feat/re-segmentation
  • 0f91ff3 update segment status when re-segment document
  • 0f3e0ca chore: temp
  • b0667af fix: show prev precent and not stop interval call query status api

📊 Changes

61 files changed (+1169 additions, -762 deletions)

View changed files

📝 api/controllers/console/datasets/datasets_document.py (+7 -4)
📝 api/services/dataset_service.py (+138 -39)
📝 api/tasks/clean_document_task.py (+1 -2)
api/tasks/document_indexing_update_task.py (+85 -0)
📝 api/tasks/remove_document_from_index_task.py (+1 -2)
📝 web/app/(commonLayout)/apps/AppCard.tsx (+1 -1)
📝 web/app/(commonLayout)/apps/Apps.tsx (+5 -6)
web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/documents/[documentId]/settings/page.tsx (+16 -0)
📝 web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx (+4 -1)
📝 web/app/(commonLayout)/datasets/DatasetCard.tsx (+5 -8)
📝 web/app/(commonLayout)/datasets/Datasets.tsx (+7 -9)
📝 web/app/(commonLayout)/explore/apps/page.tsx (+2 -2)
📝 web/app/(commonLayout)/explore/installed/[appId]/page.tsx (+4 -3)
📝 web/app/(shareLayout)/chat/[token]/page.tsx (+0 -1)
📝 web/app/components/app/configuration/config-model/index.tsx (+11 -11)
📝 web/app/components/app/configuration/dataset-config/select-dataset/index.tsx (+14 -15)
📝 web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx (+39 -35)
📝 web/app/components/app/configuration/prompt-value-panel/index.tsx (+48 -42)
📝 web/app/components/app/text-generate/item/index.tsx (+112 -106)
📝 web/app/components/base/app-icon/index.tsx (+2 -2)

...and 41 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify/pull/114 **Author:** [@JzoNgKVO](https://github.com/JzoNgKVO) **Created:** 5/20/2023 **Status:** ✅ Merged **Merged:** 6/1/2023 **Merged by:** [@JohnJyong](https://github.com/JohnJyong) **Base:** `main` ← **Head:** `feat/re-segmentation` --- ### 📝 Commits (10+) - [`54226ec`](https://github.com/langgenius/dify/commit/54226ec021f509c65d50808d306a4c10c2ea9c6a) fix: import wrong user - [`4780480`](https://github.com/langgenius/dify/commit/47804806f032df1a7067612c481eca10cacbe7e3) add re_segment document function - [`08da907`](https://github.com/langgenius/dify/commit/08da90764280b363f162cc16bbaac0699606be57) Merge branch 'main' into feat/re-segmentation - [`a414957`](https://github.com/langgenius/dify/commit/a41495703e13cf3c74f030cbe18586427659f60f) Merge branch 'fix/import-wrong-user' into feat/re-segmentation - [`ffa8e4c`](https://github.com/langgenius/dify/commit/ffa8e4ccd1b47321214d47e642fc76079dfb4633) add re_segment document param check - [`14c6bd2`](https://github.com/langgenius/dify/commit/14c6bd2958ee03f40b3fb42c9c1a87c3a4de5f28) feat: support re-segmentation - [`96f463f`](https://github.com/langgenius/dify/commit/96f463fc3ca5128e7194f69dec418bbfb77f471d) Merge branch 'main' into feat/re-segmentation - [`0f91ff3`](https://github.com/langgenius/dify/commit/0f91ff388c5b08c3eadf966b1549b649719f4d64) update segment status when re-segment document - [`0f3e0ca`](https://github.com/langgenius/dify/commit/0f3e0ca26c2274f704d5702c6eb10c1fd9aff26b) chore: temp - [`b0667af`](https://github.com/langgenius/dify/commit/b0667afedd1f168d0fa7bab45ae867c6742a3437) fix: show prev precent and not stop interval call query status api ### 📊 Changes **61 files changed** (+1169 additions, -762 deletions) <details> <summary>View changed files</summary> 📝 `api/controllers/console/datasets/datasets_document.py` (+7 -4) 📝 `api/services/dataset_service.py` (+138 -39) 📝 `api/tasks/clean_document_task.py` (+1 -2) ➕ `api/tasks/document_indexing_update_task.py` (+85 -0) 📝 `api/tasks/remove_document_from_index_task.py` (+1 -2) 📝 `web/app/(commonLayout)/apps/AppCard.tsx` (+1 -1) 📝 `web/app/(commonLayout)/apps/Apps.tsx` (+5 -6) ➕ `web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/documents/[documentId]/settings/page.tsx` (+16 -0) 📝 `web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/layout.tsx` (+4 -1) 📝 `web/app/(commonLayout)/datasets/DatasetCard.tsx` (+5 -8) 📝 `web/app/(commonLayout)/datasets/Datasets.tsx` (+7 -9) 📝 `web/app/(commonLayout)/explore/apps/page.tsx` (+2 -2) 📝 `web/app/(commonLayout)/explore/installed/[appId]/page.tsx` (+4 -3) 📝 `web/app/(shareLayout)/chat/[token]/page.tsx` (+0 -1) 📝 `web/app/components/app/configuration/config-model/index.tsx` (+11 -11) 📝 `web/app/components/app/configuration/dataset-config/select-dataset/index.tsx` (+14 -15) 📝 `web/app/components/app/configuration/features/chat-group/opening-statement/index.tsx` (+39 -35) 📝 `web/app/components/app/configuration/prompt-value-panel/index.tsx` (+48 -42) 📝 `web/app/components/app/text-generate/item/index.tsx` (+112 -106) 📝 `web/app/components/base/app-icon/index.tsx` (+2 -2) _...and 41 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-21 20:18:40 -05:00
yindo closed this issue 2026-02-21 20:18:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#22310