エイカク
9c691b2266
chore: remove Electron desktop pipeline and switch to tauri repo ( #5226 )
...
* ci: remove Electron desktop build from release pipeline
* chore: remove electron desktop and switch to tauri release trigger
* ci: remove desktop workflow dispatch trigger
* refactor: migrate data paths to astrbot_path helpers
* fix: point desktop update prompt to AstrBot-desktop releases
2026-02-19 23:04:18 +09:00
Dt8333
7dd95d8a59
chore: auto ann fix by ruff ( #4903 )
...
* chore: auto fix by ruff
* refactor: 统一修正返回类型注解为 None/bool 以匹配实现
* refactor: 将 _get_next_page 改为异步并移除多余的请求错误抛出
* refactor: 将 get_client 的返回类型改为 object
* style: 为 LarkMessageEvent 的相关方法添加返回类型注解 None
---------
Co-authored-by: Soulter <37870767+Soulter@users.noreply.github.com >
2026-02-09 00:22:24 +08:00
Li-shi-ling
9a91f2fb11
fix: ensure atomic creation of knowledge base with proper cleanup on failure ( #4406 )
...
* fix: ensure atomic creation of knowledge base with proper cleanup on failure
- Added pre-validation for embedding_provider_id parameter
- Added check for existing knowledge base with same name
- Implemented proper rollback mechanism when KBHelper initialization fails
- Uses same session for cleanup to ensure data consistency
- Fixes #4403
* fix: ensure atomic KB creation with session.flush() to remove race condition risks
* fix: ensure change the annotation back
2026-01-11 14:24:26 +08:00
RC-CHN
270c89c12f
feat: Add URL document parser for knowledge base ( #3622 )
...
* feat: 添加从 URL 上传文档的功能,支持进度回调和错误处理
* feat: 添加从 URL 上传文档的前端
* chore: 添加 URL 上传功能的警告提示,确保用户配置正确
* feat: 添加内容清洗功能,支持从 URL 上传文档时的清洗设置和服务提供商选择
* feat: 更新内容清洗系统提示,增强信息提取规则;添加 URL 上传功能的测试版标识
* style: format code
* perf: 优化上传设置,增强 URL 上传时的禁用逻辑和清洗提供商验证
* refactor:使用自带chunking模块
* refactor: 提取prompt到单独文件
* feat: 添加 Tavily API Key 配置对话框,增强网页搜索功能的配置体验
* fix: update URL hint and warning messages for clarity in knowledge base upload settings
* fix: 修复设置tavily_key的热重载问题
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-11-17 19:05:14 +08:00
LIghtJUNction
0b7fc29ac4
style: add ruff lint module of isort and pyupgrade, and some ruff check fix ( #3214 )
...
Co-authored-by: Dt8333 <25431943+Dt8333@users.noreply.github.com >
Co-authored-by: Soulter <905617992@qq.com >
2025-11-01 13:26:19 +08:00
Soulter
eb201c0420
feat: refactor knowledge base parsers and add MarkitdownParser for docx, xls, xlsx support
2025-10-25 22:00:54 +08:00
lxfight
57f868cab1
Merge branch 'feature/knowledge-base' of https://github.com/lxfight/AstrBot into feature/knowledge-base
2025-10-25 13:53:03 +08:00
Soulter
016783a1e5
feat: implement RecursiveCharacterChunker and update KnowledgeBaseManager to use it
2025-10-25 13:46:06 +08:00
lxfight
594ccff9c8
fix: 添加数据库连接检查和知识库终止功能,增强错误处理和清理逻辑,修复知识库无法删除的问题
2025-10-25 11:56:37 +08:00
Soulter
4cedc6d3c8
feat: add t-SNE visualization for FAISS index and enhance knowledge base retrieval with debug mode
2025-10-24 21:22:46 +08:00
Soulter
38e3f27899
feat: update knowledge base retrieval configuration and UI adjustments
2025-10-24 15:06:07 +08:00
Soulter
2f130ba009
feat: delete chunk and delete document
2025-10-24 13:59:17 +08:00
Soulter
e0ac743cdb
perf: remove rerank functionality from settings tab and related form data
2025-10-24 12:13:51 +08:00
Soulter
59df244173
improve
2025-10-23 21:20:41 +08:00