Skip to content

optimize(knowledge): Optimize the index logic of the knowledge base#841

Merged
liuyunchao-1998 merged 1 commit intomainfrom
opmit/knowledge_event
Aug 21, 2025
Merged

optimize(knowledge): Optimize the index logic of the knowledge base#841
liuyunchao-1998 merged 1 commit intomainfrom
opmit/knowledge_event

Conversation

@liuyunchao-1998
Copy link
Copy Markdown
Collaborator

What type of PR is this?

Check the PR title.

  • This PR title match the format: <type>(optional scope): <description>
  • The description of this PR title is user-oriented and clear enough for others to understand.
  • Add documentation if the current PR requires user awareness at the usage level.

(Optional) Translate the PR title into Chinese.

优化知识库index逻辑

(Optional) More detailed description for this PR(en: English/zh: Chinese).

en:In the past, processing all slices together would pose a challenge to idgen. This adjustment will process slices in batches
zh(optional): 以往将所有的slice放到一起处理,会对idgen产生挑战。本次调整将slice分批处理

(Optional) Which issue(s) this PR fixes:

Fixes #802

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Aug 21, 2025

Codecov Report

❌ Patch coverage is 0% with 320 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/domain/knowledge/service/event_handle.go 0.00% 318 Missing ⚠️
...ledge/internal/dal/dao/knowledge_document_slice.go 0.00% 1 Missing ⚠️
backend/domain/knowledge/service/retrieve.go 0.00% 1 Missing ⚠️
Files with missing lines Coverage Δ
...ledge/internal/dal/dao/knowledge_document_slice.go 24.62% <0.00%> (ø)
backend/domain/knowledge/service/retrieve.go 17.08% <0.00%> (ø)
backend/domain/knowledge/service/event_handle.go 1.61% <0.00%> (-0.63%) ⬇️

... and 4 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@liuyunchao-1998 liuyunchao-1998 force-pushed the opmit/knowledge_event branch 2 times, most recently from e721628 to 8c0df3e Compare August 21, 2025 08:09
stash

finish

finish

finish

finish

finish

finish

finish

finish

finish
@liuyunchao-1998 liuyunchao-1998 added this pull request to the merge queue Aug 21, 2025
Merged via the queue into main with commit 09d00c2 Aug 21, 2025
9 checks passed
@liuyunchao-1998 liuyunchao-1998 deleted the opmit/knowledge_event branch August 21, 2025 09:45
lvgj-stack pushed a commit to dragonforce2010/coze-studio that referenced this pull request Aug 22, 2025
futeng pushed a commit to futeng/coze-studio that referenced this pull request Sep 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

知识库上传 excel 解析报错 ,知识库要怎么配置,

4 participants