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

feat: 优化知识库处理逻辑 #77

Open
xerrors opened this issue Mar 14, 2025 · 0 comments
Open

feat: 优化知识库处理逻辑 #77

xerrors opened this issue Mar 14, 2025 · 0 comments
Assignees
Labels
todo todo

Comments

@xerrors
Copy link
Owner

xerrors commented Mar 14, 2025

修改后的逻辑为:

  • 对于文件类型

拖拽上传之后,点击添加会进入“added”状态,此时需要点击,chunk (此时弹出弹窗,选择 chunk 的方法),点击确定之后,会被chunk为文本片段,并添加到 chunked 状态,chunk_txt 存储在数据库 json 文件中。此时的可操作按钮为【indexing, delete】,点击indexing之后会被存储到向量数据库中,状态也会更新,当然这里面是存在一些 loading、waiting 这里的中间状态。

  • 新增对于网页的支持

可以添加单个网页,添加之后会自动识别标题、内容并以markdown/txt 的格式保存并展示给用户,点击确认后,进入 added 状态,文件名变成 {标题}_web.md / txt 保存到数据库中,入库之后和一般文件无异。

  • 添加知识库与知识图谱构建之间的流程

  • 添加文件下载按钮

  • 在文件状态为chunked之前,不能点击后展开抽屉

  • [设想] 新增知识库向量迁移方法(可能性不大)

@xerrors xerrors added the todo todo label Mar 14, 2025
@xerrors xerrors added this to the 知识图谱构建 milestone Mar 14, 2025
@xerrors xerrors self-assigned this Mar 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
todo todo
Projects
None yet
Development

No branches or pull requests

1 participant