Commit Graph

269 Commits

Author SHA1 Message Date
CaptainB a2aab8df7e fix: 处理opanai语音识别报错的问题
--bug=1046791 --user=刘瑞斌 【应用】使用 openai 语音输入模型、输出模型进行输入输出报错 https://www.tapd.cn/57709429/s/1582133
2024-09-20 11:14:52 +08:00
wxg0103 4c28ff12f5 refactor: 优化代码 2024-09-19 16:03:51 +08:00
wxg0103 88f6e336e7 fix: 解决非流式返回报错的缺陷
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-09-19 11:43:15 +08:00
CaptainB f906efa9e2 refactor: 豆包接口校验发送demo验证
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-09-14 23:20:40 +08:00
CaptainB 467b864895 refactor: 讯飞接口校验发送demo验证 2024-09-14 23:20:40 +08:00
wxg0103 0b64e7a56c refactor: 优化用户名校验逻辑
--story=1016296 --user=王孝刚 【系统管理】用户创建限制太过于严格,与某些用户/企业的习惯或要求不符合 https://www.tapd.cn/57709429/s/1579177
2024-09-14 18:54:40 +08:00
wxg0103 a873719a49 fix: 修复tokens描述错误的缺陷
--bug=1046202 --user=王孝刚 【github#1144】【应用】参数设置,输出最大tokens描述错误 https://www.tapd.cn/57709429/s/1579168
2024-09-14 18:37:21 +08:00
CaptainB d551462c05 refactor: 支持使用浏览器语音播放 2024-09-12 11:31:06 +08:00
CaptainB bec2ed8067 refactor: 支持使用浏览器语音播放 2024-09-11 16:12:14 +08:00
shaohuzhang1 504e900edf feat: 支持xinference Rerank模型
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-09-10 19:01:33 +08:00
shaohuzhang1 277ed17f93 feat: 支持阿里百炼Rerank模型
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-09-09 18:47:02 +08:00
shaohuzhang1 f9a76d7948
feat: 支持openai接口 #353 (#1128) 2024-09-09 14:47:25 +08:00
Tong Li eb81d6d010
update openai_model_provider.py (#1129)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
Co-authored-by: litongjava <litongjava@qq.com>
2024-09-08 13:38:38 +08:00
shaohuzhang1 3faba75d4d feat: 支持重排模型 2024-09-05 11:30:21 +08:00
CaptainB fcbfd8a07c refactor: 自动填充api_url
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-09-04 14:12:54 +08:00
CaptainB b8ba2458c0 fix: 修复wss链接的证书问题 2024-09-04 13:25:54 +08:00
CaptainB b500404a41 feat: 语音识别和语音合成 2024-09-04 12:23:08 +08:00
shaohuzhang1 3d1b3ea8d5 fix: 修复openai计算token错误
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2024-08-29 17:22:21 +08:00
shaohuzhang1 96ac12ea31 fix: 修复openai供应商计算tokens错误,修复旧版本应用编辑页面直接报错提示问题为必填参数错误 2024-08-29 15:11:09 +08:00
wxg0103 c2622e4a5d fix: 修复模型计算tokens消耗报错的缺陷
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-08-29 12:37:01 +08:00
shaohuzhang1 0bd7fbb4fe fix: 修改kimi,azure供应商icon 2024-08-28 14:54:26 +08:00
shaohuzhang1 37612cb88e fix: 修复智普供应商添加添加列表以外模型报错 2024-08-28 10:00:31 +08:00
shaohuzhang1 eb60a0de2e fix: 修复AI模型参数,切换模型时参数修改为当前模型的默认参数
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-08-26 18:07:28 +08:00
wxg0103 7360779002 fix: 修复vLLM显示名称 2024-08-26 16:42:56 +08:00
shaohuzhang1 9e0ac81f1d refactor: 重构模型参数代码 2024-08-23 17:47:23 +08:00
wxg0103 295e794a6a fix: 修复混元模型失败的缺陷 2024-08-23 15:59:13 +08:00
wxg0103 e0c3da7c43 refactor: 优化对话记录的导出 2024-08-23 15:36:38 +08:00
shaohuzhang1 63e7e52a35 fix: 解决local_model服务端口冲突问题 2024-08-21 16:26:56 +08:00
zhangshaohu 7c5957e0a3 feat: 分离任务 2024-08-21 14:46:38 +08:00
wxg0103 8ead0e2b6b refactor: 优化vllm的icon 2024-08-21 14:33:48 +08:00
wxg0103 f9784dcbd1 fix: 修复Xinference 模型回答问题最后几个字会重复一次
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
--bug=1045125 --user=王孝刚 【模型管理】本地 Xinference 模型回答问题最后几个字会重复一次 https://www.tapd.cn/57709429/s/1565685
2024-08-20 11:51:36 +08:00
wxg0103 d50c008979 fix: 修复Xinference 模型回答问题最后几个字会重复一次
--bug=1045125 --user=王孝刚 【模型管理】本地 Xinference 模型回答问题最后几个字会重复一次 https://www.tapd.cn/57709429/s/1565685
2024-08-20 11:49:02 +08:00
wxg0103 527a0953d8 refactor: update gemini params
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-08-19 11:48:35 +08:00
wxg0103 1fde17a718 refactor: update model params 2024-08-19 11:25:00 +08:00
wxg0103 35f3ff779b refactor: update model params 2024-08-19 10:38:55 +08:00
wxg0103 93bfb45782 refactor: update model params 2024-08-16 12:23:12 +08:00
wxg0103 c332a6cacc refactor: aws 2024-08-16 10:27:33 +08:00
wxg0103 210f99bf70 refactor: 优化模型参数 2024-08-14 18:56:06 +08:00
shaohuzhang1 9210a649f9
refactor: 优化Xorbits Inference名称显示 (#961)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
Co-authored-by: wxg0103 <727495428@qq.com>
2024-08-12 16:02:13 +08:00
wxg0103 35d9462689
feat: 增加xinference模型对接 (#959) 2024-08-12 12:07:15 +08:00
shaohuzhang1 0e186f3f5a
fix: 模型管理,模型名称长度从20个字符调整到64个字符 (#940)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-08-07 11:44:32 +08:00
shaohuzhang1 62b12c3124
fix: 修复ollama模型二级path无法添加问题 #805 (#930)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-08-06 11:34:05 +08:00
wxg0103 72423a7c3e feat: 增加对接模型 2024-08-05 09:27:16 +08:00
shaohuzhang1 76c1acbabb
fix: 修复讯飞星火模型多用户同时提问后,回答内容会错乱 #917 (#920) 2024-08-02 10:39:54 +08:00
wxg0103 29b005e405 fix: 修复删除知识库使用的向量模型报错的缺陷 2024-07-29 15:15:41 +08:00
shaohuzhang1 ad0592552b
fix: 修复【系统管理】创建模型,没有校验 (#867) 2024-07-25 14:53:04 +08:00
shaohuzhang1 c6886088e3
fix: 模型修改时,删除模型缓存数据 (#858)
Some checks are pending
sync2gitee / repo-sync (push) Waiting to run
Typos Check / Spell Check with Typos (push) Waiting to run
2024-07-24 16:12:05 +08:00
shaohuzhang1 26536112ce
fix: 修复应用无法保存 (#856) 2024-07-24 16:03:44 +08:00
shaohuzhang1 53434f9d24
feat: 细分段落chunk增加召回命中率 (#841) 2024-07-23 18:19:41 +08:00
shaohuzhang1 98938b8ccf
fix: 修复模型管理中,公共模型不能修改 (#826) 2024-07-22 12:03:05 +08:00
shaohuzhang1 a404a5c6e9
fix: 修复模型没权限使用时报错 (#825) 2024-07-22 11:44:38 +08:00
shaohuzhang1 a9b8bdd365 feat: 支持向量模型 2024-07-19 16:44:53 +08:00
shaohuzhang1 f372095f51 feat: 支持向量模型 2024-07-19 16:13:44 +08:00
shaohuzhang1 8e3963468e feat: 支持向量模型 2024-07-18 18:34:37 +08:00
shaohuzhang1 bd4303aee7 feat: 支持向量模型 2024-07-17 17:01:57 +08:00
shaohuzhang1 9b81b89975 feat: 模型接口添加权限参数
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2024-07-16 16:08:31 +08:00
shaohuzhang1 2f3d282c0d feat: 支持向量模型 2024-07-15 16:27:41 +08:00
shaohuzhang1 410e065b52
refactor: 优化模型管理 (#749)
Some checks failed
sync2gitee / repo-sync (push) Has been cancelled
Typos Check / Spell Check with Typos (push) Has been cancelled
2024-07-12 14:15:42 +08:00
shaohuzhang1 60e65a8b17
feat: 接口校验 (#721)
feat: 接口校验
2024-07-09 13:44:27 +08:00
shaohuzhang1 2f2f74fdab
feat: 支持工作流 (#671) 2024-07-01 09:45:59 +08:00
shaohuzhang1 337994439c
fix: 修复升级langchain后千帆模型无法报错 (#638) 2024-06-13 16:15:16 +08:00
shaohuzhang1 052487a22d
fix: 修复Ollama模型中没有已下载的模型时,在 MaxKB 添加 Ollama模型报错。#437 (#453) 2024-05-15 11:03:46 +08:00
Brian Yang c49c10de3d
feat: OpenAI模型表单增加对GPT-4o的支持(#447) (#447) 2024-05-15 10:23:29 +08:00
Brian Yang 15b9484af6
feat: 增加Gemini大模型支持 (#439) 2024-05-14 10:06:21 +08:00
Brian Yang 2009eb2bdf
feat: 增加了DeepSeek大模型支持 && fix: 修复了系统设置->模型设置中的动态表单复用时,错误地显示之前动态表单内容的bug && perf: 修改Azure OpenAI模型表单描述,简化对应代码实现 (#431)
* feat: 增加了DeepSeek大模型支持

* fix: 修复了系统设置->模型设置中的动态表单复用时,错误地显示之前动态表单内容的bug

* perf: 修改Azure OpenAI模型表单描述,简化代码实现(取消对AzureLLMModelCredential的依赖,保留DefaultAzureLLMModelCredential)

* perf: 更换DeepSeek图标为官网彩色svg
2024-05-13 13:31:21 +08:00
shaohuzhang1 cd472b47f7
fix: 模型添加长字符的加密解密方式 (#310) 2024-04-29 13:28:47 +08:00
shaohuzhang1 e4bcebd579
fix: API_KEY 字符长度过长时,添加模型报错 #278 (#300) 2024-04-28 18:09:51 +08:00
shaohuzhang1 a61d8eb0a1
perf: 增加ollama基础模型选项 (#288) 2024-04-28 13:16:12 +08:00
Brian Yang db4bcfc5d6
perf: 增加了更多常用的OpenAI模型及其描述 & 现在可以通过tooltip正常显示ModelInfo中desc的内容 (#269) 2024-04-28 11:59:57 +08:00
shaohuzhang1 29427a0ad6
fix: 私有部署计算tokens报错 (#284) 2024-04-28 11:59:19 +08:00
Joe Stone 4f78382df4
feat: 添加千问模型 2024-04-26 18:05:16 +08:00
shaohuzhang1 8fe1a147ff
feat: 支持讯飞星火大模型 #181 (#184) 2024-04-19 16:43:31 +08:00
shaohuzhang1 4aa1b58ae5
feat: 支持智谱大模型 #178 (#180) 2024-04-19 14:43:06 +08:00
shaohuzhang1 0b083eecee
fix: 修复openai模型在对接其他兼容openai接口平台时获取tokens错误 (#157) 2024-04-18 15:41:48 +08:00
shaohuzhang1 1a291997f3
feat: 支持阿里通义大模型 #42 (#154)
* feat: 支持阿里通义大模型 #42
2024-04-18 11:56:46 +08:00
SimonGino 57ecf4adb7
feat: 支持对接 KIMI 模型 (#152)
* feat: 支持对接 KIMI 模型
2024-04-18 11:44:13 +08:00
shaohuzhang1 df850894c6
fix: 支持 OpenAI 兼容模型 #142 (#146) 2024-04-17 17:14:01 +08:00
shaohuzhang1 3d28d2527b
fix: typos
* fix: typos
2024-04-15 19:06:42 +08:00
shaohuzhang1 da4b5be7a5
Pr@main@fix bugs (#22)
* fix: Ollama 添加未下载的模型,下载进度会由 100-0-100

* fix: 处理优化问题为空字符串的情况下,使用原始问题进行问答

* fix: 创建用户 登录密码使用默认密码MaxKB@123.. 提示规则不对。

* fix: 【应用】从应用中的【对话日志】处保存内容报错

* fix: 刷新访问链接增加确认提示

* fix: 【应用】浮窗模式的 放大按钮与关闭按钮未对齐

* fix: merge时被误删的代码

* fix: mac电脑输入法状态下按回车会发送对话

---------

Co-authored-by: wangdan-fit2cloud <dan.wang@fit2cloud.com>
2024-03-29 18:27:08 +08:00
shaohuzhang1 86d2ea5ff3 feat: 对接openai供应商
#9
2024-03-28 18:30:46 +08:00
shaohuzhang1 8d318d2a41 fix: 下载模型出错处理 2024-03-26 16:55:41 +08:00
shaohuzhang1 d2ef33a1ca fix: 模型列表根据创建时间倒序 2024-03-26 11:22:13 +08:00
shaohuzhang1 436d0b7483 fix: azure模型如果是内部模型则使用内部api_version,反之使用用户的 2024-03-25 18:47:01 +08:00
shaohuzhang1 e80257a978 feat: 升级千帆模型版本,开放用户自定义模型 2024-03-25 15:08:40 +08:00
zhangshaohu 0c9a7c15b6 fix: 模型校验错误 2024-03-23 00:38:52 +08:00
zhangshaohu 31a441c1c0 feat: ollama 平台api域名之需要填写到端口 2024-03-22 23:44:53 +08:00
zhangshaohu 8ed2754eba fix: 修改编辑时旧数据影响进度条 2024-03-22 23:32:48 +08:00
zhangshaohu 5f7a99f957 fix: 模型对话异常,模型编辑时状态未改正 2024-03-22 22:23:39 +08:00
shaohuzhang1 633d81b3fb fix: 可选模型去掉无法下载的模型 2024-03-22 18:03:36 +08:00
shaohuzhang1 d074424398 feat: ollama支持下载模型 2024-03-22 17:56:56 +08:00
shaohuzhang1 28d44ac567 feat: 去除无用代码 2024-03-21 14:49:21 +08:00
shaohuzhang1 fb7dfba567 fix: 修改Tokenizer加载顺序 2024-03-20 17:01:26 +08:00
shaohuzhang1 63fbfb4631 fix: 添加用户管理权限、用户管理列表返回角色,创建时间等信息 2024-03-20 13:03:38 +08:00
shaohuzhang1 40031bd29d feat: 密钥对存储到数据库 2024-03-20 11:57:17 +08:00
shaohuzhang1 c39221063e fix: 邮箱设置 2024-03-20 10:52:24 +08:00
shaohuzhang1 2f706b6ab0 feat: 邮箱设置相关接口 2024-03-19 20:38:28 +08:00
shaohuzhang1 f7b9677a8c feat: 表迁移 2024-03-18 17:54:48 +08:00
shaohuzhang1 4e93c6f4c7 feat: 用户管理相关接口 2024-03-18 15:34:02 +08:00
shaohuzhang1 357be32df1 feat: 基础模型支持输入 2024-03-15 14:04:09 +08:00
shaohuzhang1 a3fca88e73 feat: ollama平台添加baichuan2:13b-chat模型 2024-03-08 14:05:29 +08:00
shaohuzhang1 ba3e4e7556 feat: 对接ollama平台模型 2024-03-06 13:43:45 +08:00
shaohuzhang1 c2f0891d12 fix: 删除模型校验是否有关联应用 2024-03-05 14:29:50 +08:00
shaohuzhang1 a37562dba3 fix: 删除Qianfan-Chinese-Llama-2-13B模型 2024-03-04 17:05:08 +08:00
shaohuzhang1 348e15840a fix: 创建模型校验提示异常 2024-03-04 10:25:51 +08:00
shaohuzhang1 f7a8f11ef7 fix: 校验提示 2024-03-04 10:12:18 +08:00
shaohuzhang1 3f87335c80 feat: 优化对话逻辑 2024-01-16 16:46:54 +08:00
shaohuzhang1 64c8cc6b39 feat: web数据集 2023-12-29 18:02:23 +08:00
wangdan-fit2cloud a82d282255 feat: 2023-12-18 11:32:29 +08:00
shaohuzhang1 10824c10dc feat: 重新生成迁移文件 2023-12-14 12:12:50 +08:00
shaohuzhang1 4c164a49de feat: 模型删除修改 2023-12-01 17:30:06 +08:00
shaohuzhang1 7a2df95ede feat: 模型创建 2023-11-28 18:26:31 +08:00
shaohuzhang1 17aa05bad4 feat: 供应商图标 2023-11-24 10:37:17 +08:00
shaohuzhang1 128dc0a201 fix: 供应商列表报错,模型添加根据供应商名称查询 2023-11-23 16:11:57 +08:00
shaohuzhang1 78a9697f50 feat: 批量添加团队成员,文档分段高级分段标识 2023-11-20 18:53:18 +08:00
shaohuzhang1 9e8008e064 feat:文档批量创建,用户列表查询,关联数据集数据 2023-11-17 17:43:35 +08:00
shaohuzhang1 42acc60d87 feat:模型相关实例 2023-11-16 14:25:48 +08:00
shaohuzhang1 f28b222388 feat: 应用相关接口,模型相关接口 2023-11-16 13:16:27 +08:00
shaohuzhang1 a2de9691fb feat: 数据集,文档,段落,问题,向量化接口 2023-10-24 20:24:32 +08:00
shaohuzhang1 1e3097fa3f feat: 权限限制,团队设置接口,数据集接口 2023-10-09 19:03:41 +08:00