doc-parser-server/Readme.md
2025-07-07 17:46:26 +08:00

27 lines
1.5 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

修订记录
| 版本 | 时间 | 修订人 | 改动点 |
|:-----:|:----------:|:-------:|:---------------------------------:|
| 1.0.0 | 2025-06-05 | Luke.Ye | 添加修订记录新增token校验接口 |
| 1.0.1 | 2025-06-06 | Luke.Ye | 重构登录Token校验逻辑 |
| 1.0.2 | 2025-06-09 | Luke.Ye | 添加用户角色相关逻辑,重构代码 |
| 1.0.3 | 2025-06-16 | Luke.Ye | 新增文档上传至对象存储接口 |
| 1.0.4 | 2025-06-17 | Luke.Ye | 上传文档记录入库 |
| 1.0.5 | 2025-06-19 | Luke.Ye | 文档导入ES逻辑优化 |
| 1.0.6 | 2025-06-20 | Luke.Ye | 完成对象存储删除接口,优化部分代码 |
| 1.0.7 | 2025-06-22 | Luke.Ye | 导入文档类型新增支持ppt & txt |
| 1.1.0 | 2025-06-22 | Luke.Ye | 完成llm接口迁移至后端 |
| 1.1.1 | 2025-06-26 | Luke.Ye | 提供删除ES数据的接口ob仓库监听发生删除事件则同步删除ES |
| 1.1.2 | 2025-07-07 | Luke.Ye | 增加llm后端接口 |
## 开发顺序
PO ---> Mapper ---> iface ---> persistence
## llm接口调用顺序
- importObsidianToLLM(导入本地文档) ---> updateEmbeddings将本地文档嵌入工作区 ---> updatePin是否pin住 ---> streamAnswer(开始问答)
- removeFolderFromLLM移除文档
- fetchAttachments获取当前工作区下已经嵌入的附件