🚀 功能建议:服务可以增加更多的模型吗?Command R
Opened this issue · 6 comments
lchs11 commented
github-actions commented
Hello lchs11, Thank you for your first issue contribution 🎉
tisfeng commented
感觉可以加,Cohere 提供免费试用的 key(虽然有次数限制),我使用了几天,发现翻译效果不错,command-r 模型对中文支持也很好。https://docs.cohere.com/docs/going-live
但比较麻烦的一点是,Cohere 的 API 不是标准的 OpenAI 接口,代码实现起来需要费心,因此目前建议通过一些第三方服务将 Cohere 接口转为标准的 OpenAI 接口 #270 (comment) ,这样就能使用自定义 OpenAI 服务在 Easydict 中使用了。
one-api 暂时还没支持 Cohere,可以先借助其他服务,例如 cohere2openai 或 cohere2openai-cf-worker 。
tisfeng commented
我用这个 cohere2openai-cf-worker 服务在 Cloudflare Worker 搭了一个转换接口 https://cohere2openai.tisfeng.workers.dev ,可以方便在 Easydict 中使用 command-r 模型。
注意,上面接口不保证能稳定使用,建议搭建自己的个人接口服务。
tisfeng commented
one-api 已经支持 Cohere 服务了 songquanpeng/one-api#1355 。
2.7.0 版本已添加了一个自定义 OpenAI 服务,直接借助中转接口在 Easydict 中使用也行。
valens7 commented
是否可以在窗口多开几个自定义AI,对比不同大模型的翻译结果.