Skip to content
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

🚀 功能建议:服务可以增加更多的模型吗?Command R #512

Open
4 of 5 tasks
lchs11 opened this issue Apr 17, 2024 · 4 comments
Open
4 of 5 tasks

🚀 功能建议:服务可以增加更多的模型吗?Command R #512

lchs11 opened this issue Apr 17, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@lchs11
Copy link

lchs11 commented Apr 17, 2024

请先确认以下事项

  • 已仔细阅读了 README
  • issues 页面搜索过(包括已关闭的 issue),未发现类似功能建议
  • Easydict 已升级到 最新版本
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

功能描述

Command R 大模型

使用场景

Command R

实现方案(可选)

No response

是否愿意提交 PR 实现该功能

  • 我愿意提交 PR
@lchs11 lchs11 added the enhancement New feature or request label Apr 17, 2024
Copy link

Hello lchs11, Thank you for your first issue contribution 🎉

@tisfeng
Copy link
Owner

tisfeng commented Apr 22, 2024

感觉可以加,Cohere 提供免费试用的 key(虽然有次数限制),我使用了几天,发现翻译效果不错,command-r 模型对中文支持也很好。https://docs.cohere.com/docs/going-live

但比较麻烦的一点是,Cohere 的 API 不是标准的 OpenAI 接口,代码实现起来需要费心,因此目前建议通过一些第三方服务将 Cohere 接口转为标准的 OpenAI 接口 #270 (comment) ,这样就能使用自定义 OpenAI 服务在 Easydict 中使用了。

one-api 暂时还没支持 Cohere,可以先借助其他服务,例如 cohere2openaicohere2openai-cf-worker

image

@tisfeng
Copy link
Owner

tisfeng commented Apr 22, 2024

我用这个 cohere2openai-cf-worker 服务在 Cloudflare Worker 搭了一个转换接口 https://cohere2openai.tisfeng.workers.dev ,可以方便在 Easydict 中使用 command-r 模型。

注意,上面接口不保证能稳定使用,建议搭建自己的个人接口服务。

image

@tisfeng
Copy link
Owner

tisfeng commented May 1, 2024

one-api 已经支持 Cohere 服务了 songquanpeng/one-api#1355

2.7.0 版本已添加了一个自定义 OpenAI 服务,直接借助中转接口在 Easydict 中使用也行。

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants