glide-the
402153de09
agent代码优化
2024-05-09 17:32:02 +08:00
glide-the
e6b97f13cb
配置的加载行为修改
2024-05-07 20:15:56 +08:00
glide-the
c79316c7c8
修复了一些配置重载的bug
2024-05-07 20:03:01 +08:00
glide-the
cf5c382a4f
用户配置动态加载 ( #3951 )
2024-05-06 19:15:35 +08:00
liunux4odoo
9fddd07afd
- 新功能 ( #3944 )
...
- streamlit 更新到 1.34,webui 支持 Dialog 操作
- streamlit-chatbox 更新到 1.1.12,更好的多会话支持
- 开发者
- 在 API 中增加项目图片路由(/img/{file_name}),方便前端使用
2024-05-06 09:09:56 +08:00
glide-the
98cb1aaf79
一些agent数据处理的问题,model_runtime模块的说明文档 ( #3943 )
...
* 一些agent数据出来的问题
* Changes:
- Translated and updated the Model Runtime documentation to reflect the latest changes and features.
- Clarified the decoupling benefits of the Model Runtime module from the Chatchat service.
- Removed outdated information regarding the model configuration storage module.
- Detailed the retained functionalities post-removal of the Dify configuration page.
- Provided a comprehensive overview of the Model Runtime's three-layered structure.
- Included the status of the `fetch-from-remote` feature and its non-implementation in Dify.
- Added instructions for custom service provider model capabilities.
2024-05-05 22:16:54 +08:00
liunux4odoo
f1e5b2c9aa
/v1/models 接口返回值由 List[Model] 改为 {'data': List[Model]},兼容最新版 xinference
2024-04-14 21:20:45 +08:00
glide-the
b3dee0b1d1
兼容model_providers,集成webui及API中平台配置的初始化 ( #3625 )
...
* provider_configuration init of MODEL_PLATFORMS
* 开发手册
* 兼容model_providers,集成webui及API中平台配置的初始化
2024-04-03 12:16:38 +08:00
srszzw
69667b2dc5
解决ollama部署的qwen,执行agent,返回的json格式不正确问题。
2024-04-01 14:23:23 +08:00
liunux4odoo
27f0f512a3
添加 openai 兼容的 files 接口 ( #3573 )
2024-03-29 18:07:07 +08:00
liunux4odoo
a1429a350a
修复:search_local_knowledge_base 工具返回值错误;/tools 路由错误;webui 中“正在思考”一直显示 ( #3571 )
2024-03-29 14:30:16 +08:00
liunux4odoo
42aa900566
优化工具定义;添加 openai 兼容的统一 chat 接口 ( #3570 )
...
- 修复:
- Qwen Agent 的 OutputParser 不再抛出异常,遇到非 COT 文本直接返回
- CallbackHandler 正确处理工具调用信息
- 重写 tool 定义方式:
- 添加 regist_tool 简化 tool 定义:
- 可以指定一个用户友好的名称
- 自动将函数的 __doc__ 作为 tool.description
- 支持用 Field 定义参数,不再需要额外定义 ModelSchema
- 添加 BaseToolOutput 封装 tool 返回结果,以便同时获取原始值、给LLM的字符串值
- 支持工具热加载(有待测试)
- 增加 openai 兼容的统一 chat 接口,通过 tools/tool_choice/extra_body 不同参数组合支持:
- Agent 对话
- 指定工具调用(如知识库RAG)
- LLM 对话
- 根据后端功能更新 webui
2024-03-29 11:55:32 +08:00
liunux4odoo
9818bd2a88
- 重写 tool 部分: ( #3553 )
...
- 简化 tool 的定义方式
- 所有 tool 和 tool_config 支持热加载
- 修复:json_schema_extra warning
2024-03-28 13:08:51 +08:00
liunux4odoo
26b141a06e
update .gitignore; fix model version error in api_schemas
2024-03-27 10:39:45 +08:00
glide-the
9260039672
移动项目模块
2024-03-27 10:12:28 +08:00