-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for bytedance's doubao #1438
Conversation
调用和 Azure 类似,是需要部署才能用对吗? 是的话,这段配置好像就没意义了,curl 命令里也没用到模型 var ModelList = []string{
"Doubao-pro-128k",
"Doubao-pro-32k",
"Doubao-pro-4k",
"Doubao-lite-128k",
"Doubao-lite-32k",
"Doubao-lite-4k",
"Doubao-embedding",
} 另外, 你代码好像只改了 if meta.Mode == relaymode.ChatCompletions {
return fmt.Sprintf("%s/api/v3/chat/completions", meta.BaseURL), nil
} |
我建议给oneapi增加一个 /chat/complections 的路由,而不只有 /v1/chat/completions 的路由。 |
mark一下 合并了我也更新下 |
上周末完全没时间,我尽量最近处理 |
请问这个docker发布了吗? |
已合并,感谢各位 |
v0.6.7-alpha.4 |
@songquanpeng 似乎不行呢? 我是用postman正常发送,使用oneapi就不行,不管是使用代理的方式 还是直接的方式都不行 |
一直提示 |
model ratio not found 这个应该怎么配置? |
调用豆包必须企业认证吗 |
豆包 的 embedding接口支持吗? |
同问 |
我测着是不行呀 |
* 增加豆包大模型支持 * chore: update channel options & add prompt --------- Co-authored-by: 康龙彪 <[email protected]> Co-authored-by: JustSong <[email protected]>
* 增加豆包大模型支持 * chore: update channel options & add prompt --------- Co-authored-by: 康龙彪 <[email protected]> Co-authored-by: JustSong <[email protected]>
close #1436
我已确认该 PR 已自测通过,相关截图如下: