38 Commits

Author SHA1 Message Date
glide-the
5062347f87 docs/contributing 增加贡献说明。 2024-05-19 21:34:38 +08:00
glide-the
402153de09 agent代码优化 2024-05-09 17:32:02 +08:00
glide-the
8be50af990 配置的加载行为修改 2024-05-08 10:18:10 +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
53380d76c2 一些bug 2024-05-07 19:32:54 +08:00
glide-the
b659a1badc 启动说明 2024-05-07 14:40:38 +08:00
glide-the
e968f9296b version = "0.3.0.20240506" 2024-05-06 22:38:28 +08:00
glide-the
bbed705117 version = "0.3.0.20240506" 2024-05-06 22:38:03 +08:00
glide-the
22e3797c05 version = "0.3.0.20240506" 2024-05-06 22:36:12 +08:00
glide-the
cf5c382a4f
用户配置动态加载 (#3951) 2024-05-06 19:15:35 +08:00
glide-the
b0e0872418 修改包名 2024-05-06 13:56:28 +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
glide-the
a3c4b6da49
泛型标记错误 (#3855)
* 仓库设置,一些版本问题

* pip源仓库设置,一些版本问题,启动说明

* 配置说明

* 发布的依赖信息

* 泛型标记错误
2024-04-23 19:33:31 +08:00
glide-the
eaea9a61cc
pip源仓库设置,一些版本问题,启动说明 配置说明 (#3854)
* 仓库设置,一些版本问题

* pip源仓库设置,一些版本问题,启动说明

* 配置说明
2024-04-23 17:47:32 +08:00
glide-the
2a33f9d4dd
3.8兼容 (#3769)
* 增加使用说明

* 3.8兼容性配置

* fix

* formater

* 不同平台兼容测试用例

* embedding兼容

* 增加日志信息
2024-04-16 16:20:08 +08:00
liunux4odoo
f1e5b2c9aa /v1/models 接口返回值由 List[Model] 改为 {'data': List[Model]},兼容最新版 xinference 2024-04-14 21:20:45 +08:00
zqt
d7dc01e9b1 修复 --api -w命令 2024-04-07 22:14:43 +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
glide-the
2526fa9062
Merge pull request #3579 from chatchat-space/dev_model_providers
完成了 BootstrapWebBuilder加载用户配置,适配标准报文使用RESTFulOpenAIBootstrapBaseWeb完成业务,提供xinference 插件示例
2024-04-01 20:10:26 +08:00
srszzw
69667b2dc5 解决ollama部署的qwen,执行agent,返回的json格式不正确问题。 2024-04-01 14:23:23 +08:00
glide-the
bfcf2775f5 Merge branch 'dev' into dev_model_providers 2024-03-31 19:48:16 +08:00
glide-the
a21791db54 exec path fix 2024-03-31 19:48:04 +08:00
glide-the
b8d748b668 Merge branch 'dev' into dev_model_providers 2024-03-31 15:08:56 +08:00
glide-the
f005ea3298 模型列表适配 2024-03-31 15:08:30 +08:00
glide-the
6e9e31a32c 格式化和代码检查说明 2024-03-29 18:26:50 +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
glide-the
5e70aff522 格式化 2024-03-29 10:23:28 +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
liunux4odoo
24ffa2f362 fix bugs; make poetry using tsinghua mirror of pypi 2024-03-26 12:27:02 +08:00
liunux4odoo
b9c08cbefd 对python的要求降级到py38 2024-03-26 10:37:36 +08:00
liunux4odoo
fad54822d0 Merge branch 'panda-dev' into temp 2024-03-26 09:48:40 +08:00
glide-the
6f5f22a17a 使用poetry管理项目 2024-03-25 15:31:49 +08:00