Skip to content
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

[FEATURE]生成关联问题不知道进度,不能取消。 #1540

Open
sealot opened this issue Nov 4, 2024 · 3 comments
Open

[FEATURE]生成关联问题不知道进度,不能取消。 #1540

sealot opened this issue Nov 4, 2024 · 3 comments
Assignees
Milestone

Comments

@sealot
Copy link

sealot commented Nov 4, 2024

MaxKB 版本

v1.7.0社区版

请描述您的需求或者改进建议

使用批量生成关联问题功能,点开已经生成的问题,发现问题有缺陷,但是无法取消任务。因为数据量很大,所以要很长时间,重启服务都不行。最终只好删除文档。
需求:
1、知晓生成进度,按分段总数量和已完成数量统计,显式百分比
2、取消生成,如果在生成队列中,提供一个取消按钮,删除未完成的任务

请描述你建议的实现方案

No response

附加信息

No response

@baixin513
Copy link
Contributor

baixin513 commented Nov 4, 2024

感谢反馈,如果状态是生成中时重启服务,服务启动后,任务还会重新跑。
后续可以优化加个取消生成的操作。

@baixin513
Copy link
Contributor

baixin513 commented Nov 4, 2024

不用删除文档,在【问题】中删除问题即可。
image

@baixin513 baixin513 added this to the v1.8.0 milestone Nov 4, 2024
@baixin513
Copy link
Contributor

另外,建议您先在单个分段中修改提示词,提高生成关联问题的效果。提示词调整完成后,再到文档中批量生成关联问题。
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants