 Sakura-RanChenandGitHub
|
4f61d21d17
|
Merge branch 'py_test_typing' into feature/python-typing
|
2026-02-05 17:14:47 +08:00 |
|
huozaimengli
|
4b573fb4e2
|
feat: 为多个模块添加类型注解以增强代码可读性
为 ConnectionHandler 相关的函数参数添加类型注解,使用 TYPE_CHECKING 避免循环导入。主要修改包括:
- 在 abortHandle、textHandle 等处理模块中为 conn 参数添加 ConnectionHandler 类型注解
- 在 websocket_server、connection 等核心模块中为方法参数添加类型注解
- 在 plugins_func 下的多个功能模块中为函数参数添加类型注解
- 在 providers 相关模块中为工具执行器和方法添加类型注解
- 统一代码格式,如将单引号字符串改为双引号
Fixes #2034
|
2026-01-25 17:47:52 +08:00 |
|
huozaimengli
|
6ae0af278b
|
feat: 统一LLM错误处理并添加系统错误回复配置
在多个LLM提供者中移除try-catch块,将错误处理统一到connection.py的流处理层
添加system_error_response配置项,支持自定义系统错误时的回复内容
在意图识别和流处理中捕获异常时返回配置的错误回复,避免硬编码错误信息
Fixes #2075
|
2026-01-25 16:48:01 +08:00 |
|
hrz
|
8a4f786c0b
|
update:ragflow教程升级到0.22.0
|
2025-11-13 10:44:00 +08:00 |
|
3030332422
|
0738c52d14
|
fix:修复LLM意图识别的若干问题
|
2025-09-10 18:00:39 +08:00 |
|
hrz
|
ab890ada37
|
update:强化小智提示词
|
2025-07-08 16:59:38 +08:00 |
|
CGD
|
896b318c49
|
update:iot设备多指令适配
|
2025-06-24 14:55:34 +08:00 |
|
CGD
|
178df82693
|
fix:修复意图识别因缺少 home_assistant 配置导致功能全部失效的 bug
|
2025-06-16 14:48:52 +08:00 |
|
CGD
|
3b34d687a6
|
"fix: 修复MCP工具调用参数类型错误问题,无参调用时提供默认空字典"
|
2025-06-12 10:52:07 +08:00 |
|
CGD
|
68dbc91d54
|
fix:MCP 工具的支持能力,并优化意图识
|
2025-06-11 22:02:57 +08:00 |
|
hrz
|
d06e297c2d
|
update:ASR加入队列
|
2025-06-04 11:41:04 +08:00 |
|
hrz
|
17fb60b7ae
|
update:修复iotbug
|
2025-05-23 16:03:15 +08:00 |
|
CGD
|
ebc16207f4
|
update:intent_llm添加与退出相关的提示词
|
2025-05-20 10:54:48 +08:00 |
|
CGD
|
bdd8597f69
|
update:在识别到continue_chat意图时,清理对话历史中的工具调用相关消息
|
2025-05-16 14:33:37 +08:00 |
|
hrz
|
86b5eb1818
|
update:修复init_memorybug
|
2025-05-15 16:13:32 +08:00 |
|
hrz
|
61c2782491
|
update:智控台,intent_llmM供应器增加functions输入框
|
2025-05-09 15:23:12 +08:00 |
|
hrz
|
e76a8d547b
|
update:使用intent_llm中的LLM进行工具内容回复
|
2025-05-09 13:45:01 +08:00 |
|
hrz
|
ff98f84f18
|
update:intent_llm加载动态插件
|
2025-05-09 11:39:32 +08:00 |
|
hrz
|
47f409246d
|
update:intent_llm暂时不引用新闻插件,下一个版本改造intent_llm,让它能动态获取functioncall
|
2025-05-08 18:25:02 +08:00 |
|
JavaZeroo
|
1c823c4255
|
feat: add news retrieval functionality and register new function
|
2025-05-07 21:15:06 +08:00 |
|
 hrzandGitHub
|
d9cd9acd27
|
fix:修复不启动意图识别,functioncall依旧加载的bug (#691)
update:intent_llm意图识别获取新闻和天气过长,tts容易出错,暂时只支持简单简单工具
|
2025-04-07 13:23:22 +08:00 |
|
hrz
|
17126303fa
|
fix:已经使用了intent_llm,不应该再回到functioncall的chat中
|
2025-03-28 17:17:14 +08:00 |
|
hrz
|
05356b6652
|
update:简化intent_llm代码
|
2025-03-28 14:13:54 +08:00 |
|
 koalalgxandGitHub
|
63a3c33df9
|
Update base.py
|
2025-03-25 14:27:10 +08:00 |
|
 koalalgxandGitHub
|
32d7400f7d
|
Update intent_llm.py
|
2025-03-25 14:26:46 +08:00 |
|
 
|
c0f1981d6f
|
Server music plugins (#380)
* update:intent_llm音乐插件化调用
* update:播放音乐插件改造
* update:完成音乐播放插件化改造
---------
Co-authored-by: hrz <1710360675@qq.com>
|
2025-03-17 02:13:10 +08:00 |
|
    
|
a8f06f5718
|
Test prompt (#305)
* fix: 退出指令无法识别 (#302)
修复指令text包含标点的情况下,无法正确识别退出指令的问题
* 优化提示词 (#303)
* 添加 使用 coze 会话。 (#282)
历史消息在coze 上可配置历史消息的轮次。
同个会话id,coze 上自动带历史上下文。
会话和当前session关联。一次连接一个会话,断开后,重连是新会话无历史消息。
* update:去除无用代码
---------
Co-authored-by: Jad <journey.adc@gmail.com>
Co-authored-by: Jiao Haoyang <108573524+XuSenfeng@users.noreply.github.com>
Co-authored-by: xu <494462498@qq.com>
Co-authored-by: hrz <1710360675@qq.com>
|
2025-03-13 00:54:01 +08:00 |
|
 
|
a8c6c7cb36
|
update:优化无意图识别的日志输出 (#295)
Co-authored-by: hrz <1710360675@qq.com>
|
2025-03-12 12:46:29 +08:00 |
|
   
|
2b662d3a14
|
fix:function call bug (#268)
* 优化function call消息处理
* fix:用户说话重复记录bug
* 2025-3-10-优化llm intent (#254)
Co-authored-by: 欣南科技 <huangrongzhuang@xin-nan.com>
* update:回复上版提示词,无需再二次识别歌曲名
---------
Co-authored-by: 玄凤科技 <eric230308@gmail.com>
Co-authored-by: hrz <1710360675@qq.com>
Co-authored-by: Jiao Haoyang <108573524+XuSenfeng@users.noreply.github.com>
|
2025-03-11 00:25:33 +08:00 |
|
  
|
63f34e5a82
|
本地记忆+意图识别 (#250)
* 增加本地记忆功能,使用llm总结记忆
* update:增加统一非流式输出输出
* 增加意图识别内容,使用llm进行识别
* 初始化记忆模块
* 完善意图识别处理后的流程
* 通过使用function call实现意图识别
* update:优化意图识别的配置
* update:function call最优设置成doubao-pro-32k-functioncall-241028
---------
Co-authored-by: 玄凤科技 <eric230308@gmail.com>
Co-authored-by: hrz <1710360675@qq.com>
|
2025-03-09 21:33:45 +08:00 |
|