JustSong
8f4d78e24d
chore: reorganize billing related package
2024-04-06 01:26:48 +08:00
JustSong
2ab7d25a80
chore: reorganize helper related package
2024-04-06 01:02:35 +08:00
JustSong
f9d914873f
chore: reorganize constant related package
2024-04-06 00:44:33 +08:00
JustSong
880e12c855
feat: support cogview-3
2024-04-06 00:30:08 +08:00
JustSong
0cb224e62e
chore: fix typo
2024-04-05 23:55:25 +08:00
JustSong
eec41849ec
chore: fix ali image implementation
2024-04-05 18:25:57 +08:00
Mo
d4347e7a35
feat: support Ali stable-diffusion-xl and wanx-v1 model ( #1240 )
...
* Fix ali ConvertRequest function to use baidu keyword
* Support Ali stable-diffusion-xl and wanx-v1 model
* Support Ali stable-diffusion-xl and wanx-v1 model
* Support Ali stable-diffusion-xl and wanx-v1 model
* chore: update ali constants and model ratio
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
Co-authored-by: JustSong <39998050+songquanpeng@users.noreply.github.com>
2024-04-05 18:09:54 +08:00
manjieqi
b50b43eb65
feat: update baidu model name & ratio ( #1277 )
2024-04-05 17:30:48 +08:00
JustSong
5b41f57423
feat: support stepfun's models
2024-04-05 12:32:05 +08:00
JustSong
1f80b0a39f
chore: add omitempty for xunfei functions
2024-04-05 00:13:37 +08:00
manjieqi
f73f2e51df
feat: update baidu model name & ratio ( #1253 )
...
* 修正百度模型名称
* 更新百度模型名称,并保留旧版兼容以及修正单价
* chore: add more model and adjust order
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-05 00:02:15 +08:00
Yang Fei
6f036bd0c9
feat: add embedding-2 support for zhipu ( #1273 )
...
* 增加对智谱embedding-2模型的支持
* fix: fix usage & ratio
---------
Co-authored-by: yangfei <yangfei@xuyao.info>
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-04-04 23:32:59 +08:00
JustSong
065da8ef8c
fix: fix ali function call ( #1242 )
2024-04-04 00:46:30 +08:00
JustSong
e3cfb1fa52
feat: use given usage if available in stream mode
2024-03-31 23:41:52 +08:00
JustSong
f89ae5ad58
feat: initial function call support for xunfei
2024-03-31 23:12:29 +08:00
JustSong
3f3c13c98c
feat: support top_k for claude ( close #1239 )
2024-03-30 10:47:07 +08:00
JustSong
2ba28c72cb
feat: support function call for ali ( close #1242 )
2024-03-30 10:43:26 +08:00
JustSong
f76c46d648
feat: add gemini-1.5-pro ( #1211 )
2024-03-24 22:50:09 +08:00
JustSong
99f81a267c
fix: fix xunfei error handling ( close #1218 )
2024-03-24 22:14:45 +08:00
xietong
c243cd5535
feat: 支持 ollama 的 embedding 接口 ( #1221 )
...
* 增加ollama的embedding接口
* chore: fix function name
---------
Co-authored-by: JustSong <songquanpeng@foxmail.com>
2024-03-24 21:51:31 +08:00
GuangxiaoLong
e96b173abe
feat: 移除 azure model 的 TrimSuffix ( #1193 )
2024-03-24 21:47:46 +08:00
JustSong
1185303346
chore: update comments
2024-03-17 14:10:35 +08:00
majian
205aba694f
chore: limit the temperature and top_p parameter value range to (0.0, 1) for zhipu ( #1091 )
2024-03-16 13:39:30 +08:00
Jguobao
66efabd5ae
fix: fix baidu url check ( #1143 )
...
添加百度的另外3个向量模型【"bge-large-zh",
"bge-large-en",
"tao-8k",
】
2024-03-14 23:31:07 +08:00
JustSong
b169173860
fix: force set Accept header for ali stream request ( close #1151 )
2024-03-14 23:20:38 +08:00
JustSong
e3767cbb07
fix: fix haiku model name ( close #1149 )
2024-03-14 23:13:05 +08:00
JustSong
be9eb59fbb
feat: support lingyiwanwu
2024-03-14 23:11:36 +08:00
JustSong
2dcef85285
feat: support ollama now ( close #870 )
2024-03-14 01:02:47 +08:00
JustSong
79d0cd378a
fix: fix baidu system prompt ( close #1079 )
2024-03-13 22:56:54 +08:00
sparanoid
a45fc7d736
fix: model name typo ( #1109 )
2024-03-11 00:44:49 +08:00
JustSong
2346bf70af
fix: check response type when expect stream response
2024-03-10 14:59:40 +08:00
JustSong
f05b403ca5
feat: use real system prompt now ( close #1079 )
2024-03-10 14:32:30 +08:00
JustSong
b33616df44
feat: support groq now ( close #1087 )
2024-03-10 14:09:44 +08:00
JustSong
bf2e26a48f
feat: support claude-3 ( close #1080 , close #1094 )
2024-03-09 01:12:47 +08:00
momomobinx
4fb22ad4ce
feat: support third part models of baidu ( #1046 )
...
百度千帆平台上的第三方大模型调用
2024-03-03 23:50:28 +08:00
JustSong
c6ace985c2
fix: set missing ali parameters ( close #1028 )
2024-03-03 22:51:01 +08:00
JustSong
9d8967f7d3
feat: support Mistral's models now ( close #1051 )
2024-03-03 21:46:45 +08:00
JustSong
b35f3523d3
feat: add gemini model alias ( close #1064 )
2024-03-03 21:03:04 +08:00
JustSong
1d0b7fb5ae
feat: support chatglm-4 ( close #1045 , close #952 , close #952 , close #943 )
2024-03-02 03:05:25 +08:00
JustSong
df1fd9aa81
feat: support minimax's models now ( close #354 )
2024-03-02 01:24:28 +08:00
JustSong
614c2e0442
feat: support baichuan's models now ( close #1057 )
2024-03-02 00:55:48 +08:00
JustSong
6b27d6659a
fix: add role for ChatCompletionsStreamResponseChoice.Delta
2024-02-25 19:49:22 +08:00
JustSong
dc5b781191
fix: fix stream response id
2024-02-25 19:47:59 +08:00
JustSong
c880b4a9a3
fix: fix missing index in ChatCompletionsStreamResponseChoice ( #1037 )
2024-02-25 19:17:37 +08:00
JustSong
6cf5ce9a7a
fix: fix SparkDesk model name
2024-02-18 17:11:16 +08:00
JustSong
f598b9df87
feat: add new SparkDesk models
2024-02-18 17:02:36 +08:00
JustSong
2acc2f5017
feat: support moonshot now ( close #804 )
2024-02-18 16:17:19 +08:00
JustSong
604ac56305
fix: set seed parameter for qwen ( close #1005 )
2024-02-18 15:01:09 +08:00
JustSong
9383b638a6
feat: add ChatPro & ChatStd for tencent ( #1010 )
2024-02-18 14:40:01 +08:00
JustSong
de9a58ca0b
refactor: use config field to save config
2024-02-18 02:22:50 +08:00