Soulter
eb56710a72
feat: add chunk size, overlap, and top K parameters to knowledge base response
2025-10-24 15:10:47 +08:00
Soulter
38e3f27899
feat: update knowledge base retrieval configuration and UI adjustments
2025-10-24 15:06:07 +08:00
Soulter
3c58d96db5
feat: add configuration for final knowledge base retrieval count and update related components
2025-10-24 14:45:07 +08:00
Soulter
a6be0cc135
feat: refresh knowledge base and document after uploading a document
2025-10-24 14:28:27 +08:00
Soulter
a53510bc41
refactor: comment out file path handling in KBHelper and search input in DocumentDetail
2025-10-24 14:27:01 +08:00
Soulter
1fd482e899
feat: update chunk deletion to include document ID and refresh metadata
2025-10-24 14:18:32 +08:00
Soulter
2f130ba009
feat: delete chunk and delete document
2025-10-24 13:59:17 +08:00
Soulter
e6d9db9395
feat: disable embedding provider selection in settings tab
2025-10-24 12:53:59 +08:00
Soulter
e0ac743cdb
perf: remove rerank functionality from settings tab and related form data
2025-10-24 12:13:51 +08:00
Soulter
b0d3fc11f0
feat: remove sessions tab and related components from knowledge base detail view
2025-10-24 00:48:17 +08:00
Soulter
7e0a50fbf2
feat: enhance knowledge base retrieval with chunk metadata and pagination support; remove unused chunk model
2025-10-24 00:44:40 +08:00
Soulter
59df244173
improve
2025-10-23 21:20:41 +08:00
Soulter
deb31a02cf
docs: Update badge links in README.md
2025-10-23 09:53:54 +08:00
Soulter
e3aa1315ae
stage
2025-10-23 00:31:15 +08:00
Soulter
65bc5efa19
feat: 集成知识库管理器,优化知识库上下文注入流程,移除冗余代码
2025-10-22 21:59:00 +08:00
Dt8333
abc4bc24b4
fix(dashboard): webchat input textarea is disabled when session controller is active
...
Removed the disable attribute of Input in isConvRunning. Added an activeSSE counter to correctly determine the current session state and prevent new input from causing interface display errors during session_waiter execution. Set isStreaming after streaming input ends to restore the text box.
#3037 #2892
2025-10-22 20:32:40 +08:00
Soulter
5df3f06f83
fix: persona information is not appearing in the PersonaForm when editing
2025-10-22 17:09:21 +08:00
Soulter
0e1de82bd7
fix: correct indentation in pre-commit config for pyupgrade hook
2025-10-22 17:08:54 +08:00
Soulter
f31e41b3f1
docs: update readme
2025-10-22 13:10:44 +08:00
LIghtJUNction
fe8d2718c4
新增pyupgrade钩子
...
代码风格统一化
2025-10-21 11:17:20 +08:00
Soulter
8afefada0a
fix: image_caption btn
2025-10-21 11:07:39 +08:00
LIghtJUNction
745e1c37c0
Add ruff-check hook to pre-commit config
...
跟随官方推荐
2025-10-21 11:07:00 +08:00
LIghtJUNction
fdb5988cec
更新 .pre-commit-config.yaml
2025-10-21 11:02:30 +08:00
Soulter
36ffcf3cc3
fix: typing error
2025-10-21 10:56:44 +08:00
Soulter
a0f8f3ae32
style: ruff format
2025-10-21 00:21:42 +08:00
Soulter
130f52f315
chore(monaco-editor): bump monaco-editor version to 0.54.0
2025-10-21 00:18:29 +08:00
lxfight
a05868cc45
feat: 更新知识库管理器以支持重排序模型提供商,调整相关组件的默认配置和提示信息
2025-10-20 22:38:06 +08:00
lxfight
2fc77aed15
feat: 添加知识库检索功能,支持根据知识库 ID 列出相关会话;更新相关界面和国际化文本
2025-10-20 22:23:35 +08:00
lxfight
c56edb4da6
feat: 添加知识库配置功能,支持会话管理中的知识库选择与设置
2025-10-20 21:46:39 +08:00
Soulter
6672190760
feat: add star count display and fetch functionality in sidebar
2025-10-20 18:19:21 +08:00
exynos
f122b17097
fix(update): 取消 WebUI 与核心版本对比,消除“webui有新版本!”的误报 ( #3106 )
...
* fix(update): 取消 WebUI 与核心版本对比,消除“webui有新版本!”的误报
不再比较 dv 与核心版本
* fix(update): 保留dv逻辑,新增installed标识以避免误报
新增安装状态布尔值,保留“dv 是否存在”的信息
* Fix dashboard version update check logic
---------
Co-authored-by: LIghtJUNction <lightjunction.me@gmail.com >
2025-10-20 16:15:42 +08:00
Soulter
2c5f68e696
refactor: 重构创建平台时的流程及一些 UI 优化 ( #3102 )
...
* refactor: 支持在平台直接选择配置文件
* add webchat
* feat: 支持新建平台时现场预览、创建和编辑配置文件
* fix: update configuration file descriptions and visibility based on updating mode
* perf: use incremental decoder
* perf: update descriptions
* fix: UI update issues in config file dialog
* fix: update UI elements for better readability and organization
* feat: enhance sidebar navigation with group feature and dynamic resizing
Co-authored-by: IGCrystal <3811541171@qq.com >
* refactor: persona selector
* perf: 修改部分默认行为
* fix: adjust ExtensionCard layout and improve responsiveness
* refactor: 配置文件绑定消息平台重构为消息平台绑定配文件
* style: add custom styling for v-select selection text
* fix: correct subtitle text in provider.json
* refactor: update conversation management terminology and improve session ID handling
* refactor: add Conversation ID localization and update table header reference
* Update astrbot/core/db/migration/migra_45_to_46.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* style: format logger warning for better readability
* refactor: comment out WebChat configuration for future reference
---------
Co-authored-by: IGCrystal <3811541171@qq.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
2025-10-20 12:01:06 +08:00
MoonShadow1976
e1ca645a32
feat: 增强工具调用参数处理机制 ( #3036 )
...
* feat: 增强工具调用参数处理机制
在工具调用时添加参数过滤功能,只传递函数实际需要的参数
解决问题:https://github.com/AstrBotDevs/AstrBot/issues/2988
* feat: 利用现有工具定义信息处理非期望的参数
不使用`inspect`库,利用现有工具定义信息处理非期望的参数
* ruff format for code
合并结果:
移除了多余参数避免报错,代码执行器可以正常工作。
2025-10-20 02:51:16 +08:00
lxfight
333bf56ddc
feat:知识库卡片渲染统计信息。
2025-10-19 22:40:01 +08:00
lxfight
b240594859
feat:添加Beta 版本的知识库管理器前端页面;添加i18n相关文件内容。
2025-10-19 21:55:21 +08:00
lxfight
beccae933f
fix:修复KBSessionConfig的导入问题
2025-10-19 21:36:01 +08:00
lxfight
e6aa1d2c54
feat:删除v2版本的知识库前端代码;删除i18n相关文件
2025-10-19 21:16:00 +08:00
magisk317
5e808bab65
fix(platform): prevent 'NoneType' object is not iterable in _outline_chain and set_result ( #3103 )
...
Guard against cases where message chain is None during pipeline execution. This change enhances error-resilience for logging and processing message chains.
- Updated AstrMessageEvent._outline_chain to return an empty string when input chain is None
- Updated AstrMessageEvent.set_result to ensure result.chain is always at least an empty list
This prevents TypeError when result.chain or chain is unexpectedly None, improving pipeline stability when handling external plugins or corner cases.
Co-authored-by: engine-labs-app[bot] <140088366+engine-labs-app[bot]@users.noreply.github.com>
Co-authored-by: cto-new[bot] <140088366+cto-new[bot]@users.noreply.github.com>
2025-10-19 20:16:14 +08:00
Dt8333
361d78247b
fix(core): 修复人格预设对话的重复注入 ( #3088 )
...
备份Context避免供应商适配器移除Context内字段导致将预设会话存入历史。深拷贝人格预设会话防止运行时被意外修改。
#3063
2025-10-19 20:13:57 +08:00
a490077
3550103e45
feat: QQ 官方机器人增加沙盒模式选项,让本地部署能跳过 IP 白名单验证 ( #3087 )
...
* QQ官方机器人增加沙箱模式选项,让本地部署能跳过IP白名单验证
* chore: ruff format
---------
Co-authored-by: 郭鹏 <gp@pp052.top >
Co-authored-by: Soulter <905617992@qq.com >
2025-10-19 20:09:08 +08:00
PaloMiku
8b0d4d4de4
feat: 优化 Misskey 适配器的通知和聊天消息处理,改进 @用户提及逻辑 ( #3075 )
2025-10-19 20:05:55 +08:00
shangxue
dc71c04b67
feat(satori): 添加对合并转发消息功能的支持 ( #3050 )
...
* Update satori_event.py
* Update satori_event.py
* Update satori_event.py
* Update satori_adapter.py
* style: format code for better readability in satori_adapter.py and satori_event.py
---------
Co-authored-by: Soulter <905617992@qq.com >
2025-10-19 20:05:03 +08:00
lxfight
a0254ed817
refactor: 优化知识库管理器和数据库操作的代码格式
2025-10-19 19:36:26 +08:00
lxfight
2563ecf3c5
feat: 实现知识库前端组件和路由
...
- 实现知识库 V2 主页面和 4 个子面板组件
- 文档管理面板:支持上传、删除、查看文档分块
- 检索测试面板:支持测试知识库检索效果
- 全局设置面板:配置嵌入模型、重排序、检索参数
- 会话配置面板:管理会话与知识库的绑定关系
- 重构 Alkaid 路由为嵌套结构,添加知识库 V2 路由
- 在翻译系统中注册知识库 V2 多语言支持
- 默认进入 Alkaid 时跳转到原生知识库页面
2025-10-19 18:43:58 +08:00
lxfight
c04738d9fe
feat: 实现知识库前端界面(英文国际化)
...
- 添加知识库 V2 完整英文翻译文件
- 包括:主页、文档管理、检索测试、全局设置、会话配置
- 在 Alkaid 导航中添加 "Native Knowledge Base" 入口
- 区分 "Native Knowledge Base" 和 "Knowledge Base (Plugin)"
2025-10-19 18:43:35 +08:00
lxfight
1266b4d086
feat: 实现知识库前端界面(中文国际化)
...
- 添加知识库 V2 完整中文翻译文件
- 包括:主页、文档管理、检索测试、全局设置、会话配置
- 在 Alkaid 导航中添加"原生知识库"入口
- 区分"原生知识库"和"知识库(插件)"两个入口
2025-10-19 18:42:43 +08:00
lxfight
99cf0a1522
feat: 添加知识库 Dashboard API 路由
...
- 实现知识库管理 API(创建、删除、列表、更新)
- 实现文档管理 API(上传、删除、列表、分块信息)
- 实现知识库检索测试 API(支持调试和验证)
- 实现会话配置 API(绑定/解绑知识库、配置检索参数)
- 实现全局配置 API(启用/禁用、模型选择、检索参数)
- 在 Dashboard 服务器中注册知识库路由
2025-10-19 18:41:54 +08:00
lxfight
98a75e923d
feat: 集成知识库到核心生命周期和消息流水线
...
- 在 AstrBotCoreLifecycle 中初始化知识库管理器
- 将知识库注入器添加到消息处理上下文
- 在消息流水线中添加 KBEnhanceStage(知识库增强阶段)
- 实现会话删除时的知识库配置级联清理机制
- 添加会话管理器的回调注册机制,支持零侵入扩展
2025-10-19 18:41:34 +08:00
lxfight
ad96d676e6
feat: 实现知识库核心后端模块
...
- 实现完整的知识库数据模型(知识库、文档、文档块、会话配置)
- 实现基于 SQLite 的向量数据库存储和检索
- 实现文档解析器(PDF、TXT)和固定大小分块器
- 实现混合检索系统(密集向量检索 + BM25 稀疏检索 + RRF 融合)
- 实现知识库生命周期管理和消息注入器
- 支持会话级别的知识库配置和关联
2025-10-19 18:40:55 +08:00
lxfight
79333bbc35
feat: 添加知识库核心依赖和配置
...
- 添加 pypdf、aiofiles、rank-bm25 依赖包支持文档解析和检索
- 在 default.py 中添加知识库完整配置项
- 配置包括嵌入模型、重排序、存储路径、分块策略、检索参数等
- 默认禁用知识库功能,需用户主动启用
2025-10-19 18:39:10 +08:00