[PR #908] [MERGED] Feature/mutil embedding model #22760

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

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify/pull/908
Author: @JohnJyong
Created: 8/18/2023
Status: Merged
Merged: 8/18/2023
Merged by: @JohnJyong

Base: mainHead: feature/mutil-embedding-model


📝 Commits (10+)

  • 1cd5d5e add qa thread control
  • ceff8ed 1.add batch add segment 2.support delete segment 3.support un_archive document 4. QA language
  • 2be29bb 1.add batch add segment 2.support delete segment 3.support un_archive document 4. QA language
  • 340d749 feat: unarchive document supported
  • 2b5bc9e feat: delete segment supported
  • 76dd849 feat: language selection supported in segmentation
  • 7756f9d feat: segment batch import
  • 9fb8d28 chore: modify temple of segment import
  • bfb6c52 fix: width of popover
  • 047f4b5 dataset add embedding model field

📊 Changes

54 files changed (+1697 additions, -271 deletions)

View changed files

📝 api/controllers/console/datasets/datasets.py (+31 -5)
📝 api/controllers/console/datasets/datasets_document.py (+37 -6)
📝 api/controllers/console/datasets/datasets_segments.py (+168 -5)
📝 api/controllers/console/datasets/hit_testing.py (+6 -1)
📝 api/core/docstore/dataset_docstore.py (+9 -7)
📝 api/core/generator/llm_generator.py (+2 -2)
📝 api/core/index/index.py (+3 -1)
📝 api/core/indexing_runner.py (+79 -34)
📝 api/core/prompt/prompts.py (+2 -2)
📝 api/core/tool/dataset_retriever_tool.py (+11 -3)
api/migrations/versions/2c8af9671032_add_qa_document_language.py (+32 -0)
api/migrations/versions/e8883b0148c9_add_dataset_model_name.py (+34 -0)
📝 api/models/dataset.py (+5 -0)
📝 api/requirements.txt (+2 -1)
📝 api/services/dataset_service.py (+108 -59)
📝 api/services/hit_testing_service.py (+3 -1)
api/services/vector_service.py (+69 -0)
api/tasks/batch_create_segment_to_index_task.py (+95 -0)
api/tasks/delete_segment_from_index_task.py (+58 -0)
📝 api/tasks/disable_segment_from_index_task.py (+4 -4)

...and 34 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/908 **Author:** [@JohnJyong](https://github.com/JohnJyong) **Created:** 8/18/2023 **Status:** ✅ Merged **Merged:** 8/18/2023 **Merged by:** [@JohnJyong](https://github.com/JohnJyong) **Base:** `main` ← **Head:** `feature/mutil-embedding-model` --- ### 📝 Commits (10+) - [`1cd5d5e`](https://github.com/langgenius/dify/commit/1cd5d5eb2cfdcd7b5c5ae2689e20f9abcd6e53d4) add qa thread control - [`ceff8ed`](https://github.com/langgenius/dify/commit/ceff8edbabff3dff56a24b24a826a4550b3f448b) 1.add batch add segment 2.support delete segment 3.support un_archive document 4. QA language - [`2be29bb`](https://github.com/langgenius/dify/commit/2be29bb194c6c8734700062faed7fab99d14a219) 1.add batch add segment 2.support delete segment 3.support un_archive document 4. QA language - [`340d749`](https://github.com/langgenius/dify/commit/340d749595a0d31fdb079e4d4e5dbe3b0b807f1c) feat: unarchive document supported - [`2b5bc9e`](https://github.com/langgenius/dify/commit/2b5bc9e035b8a91197e0d8b880ea80eb58e74ef9) feat: delete segment supported - [`76dd849`](https://github.com/langgenius/dify/commit/76dd849d159f3c85c823acc51832fd992c6eeeef) feat: language selection supported in segmentation - [`7756f9d`](https://github.com/langgenius/dify/commit/7756f9d4ec918dc1f435f4b59106796cb0e9f5f1) feat: segment batch import - [`9fb8d28`](https://github.com/langgenius/dify/commit/9fb8d28195f4de4ff380ca5521e3fb00745e0a31) chore: modify temple of segment import - [`bfb6c52`](https://github.com/langgenius/dify/commit/bfb6c52337e0926deb955638e3bac80dec70e7b6) fix: width of popover - [`047f4b5`](https://github.com/langgenius/dify/commit/047f4b52afe4da7913651275ba78f76c12c1758a) dataset add embedding model field ### 📊 Changes **54 files changed** (+1697 additions, -271 deletions) <details> <summary>View changed files</summary> 📝 `api/controllers/console/datasets/datasets.py` (+31 -5) 📝 `api/controllers/console/datasets/datasets_document.py` (+37 -6) 📝 `api/controllers/console/datasets/datasets_segments.py` (+168 -5) 📝 `api/controllers/console/datasets/hit_testing.py` (+6 -1) 📝 `api/core/docstore/dataset_docstore.py` (+9 -7) 📝 `api/core/generator/llm_generator.py` (+2 -2) 📝 `api/core/index/index.py` (+3 -1) 📝 `api/core/indexing_runner.py` (+79 -34) 📝 `api/core/prompt/prompts.py` (+2 -2) 📝 `api/core/tool/dataset_retriever_tool.py` (+11 -3) ➕ `api/migrations/versions/2c8af9671032_add_qa_document_language.py` (+32 -0) ➕ `api/migrations/versions/e8883b0148c9_add_dataset_model_name.py` (+34 -0) 📝 `api/models/dataset.py` (+5 -0) 📝 `api/requirements.txt` (+2 -1) 📝 `api/services/dataset_service.py` (+108 -59) 📝 `api/services/hit_testing_service.py` (+3 -1) ➕ `api/services/vector_service.py` (+69 -0) ➕ `api/tasks/batch_create_segment_to_index_task.py` (+95 -0) ➕ `api/tasks/delete_segment_from_index_task.py` (+58 -0) 📝 `api/tasks/disable_segment_from_index_task.py` (+4 -4) _...and 34 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:19:41 -05:00
yindo closed this issue 2026-02-21 20:19: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#22760