-
Notifications
You must be signed in to change notification settings - Fork 8.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
数据集的段无法禁用 #1370
Labels
🐞 bug
Something isn't working
Comments
Our cloud version is v0.3.28, is this self hosted? Can you try to upgrade to latest version? |
v0.3.28上也是一样的。包括api/tasks/remove_document_from_index_task,api/task/enable_segment_to_index_task.py都会在异常时恢复状态 |
Closed
能否在删除weaviate向量时,如果抛出的错误是404的,直接捕获错误让其正常删除 |
|
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dify version
0.3.22
Cloud or Self Hosted
Cloud
Steps to reproduce
在文档段落页面,点击禁用某个分段。显示成功,过会刷新后,又变成了启用状态。查看了开源代码,大概率是在异步删除分段的向量数据时报错,导致状态又复原了。
具体删除分段的向量数据代码在:api/tasks/disable_segment_from_index_task.py
✔️ Expected Behavior
不需要复原状态。因为在从数据集中查询相关上下文时会过滤状态为false的分段。
❌ Actual Behavior
状态又复原了
The text was updated successfully, but these errors were encountered: