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

🚀 功能建议:优化 Google Gemini 服务,支持最新的 gemini-1.5-flash-latest 模型 #559

Closed
4 of 5 tasks
tisfeng opened this issue May 19, 2024 · 4 comments
Closed
4 of 5 tasks
Assignees
Labels
enhancement New feature or request fixed in next release The issue will be closed once next release is available

Comments

@tisfeng
Copy link
Owner

tisfeng commented May 19, 2024

请先确认以下事项

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

功能描述

Google 已推出更强大的新模型 gemini-1.5-flash 和 gemini-1.5-pro ,而 Easydict 目前的 Gemini 只能使用 gemini-1.0-pro,我们需要改进它,让它和 OpenAI 服务保持一致,支持用户手动输入模型,允许开启查询单词,句子和翻译类型等设置。

image

使用场景

实现方案(可选)

No response

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

  • 我愿意提交 PR
@tisfeng tisfeng added the enhancement New feature or request label May 19, 2024
@tisfeng
Copy link
Owner Author

tisfeng commented May 19, 2024

可以更新一下 generative-ai-swift 这个库,我们使用的还是 0.4.7,最新版本已经到 0.5.3 了。

@tisfeng
Copy link
Owner Author

tisfeng commented May 22, 2024

@Jerry23011 你可以做这个吗?

我已经优化了 GeminiService 服务 #561 ,你只要参考现有的 OpenAI 服务和内置 AI 服务代码,应该就能完成对 Gemini 的改造。

@Jerry23011
Copy link
Collaborator

最近没看issues,这个我来试试

@Jerry23011 Jerry23011 self-assigned this May 22, 2024
@tisfeng tisfeng added the fixed in next release The issue will be closed once next release is available label Jul 24, 2024
@tisfeng
Copy link
Owner Author

tisfeng commented Aug 12, 2024

2.8.0 版本已实现。

@tisfeng tisfeng closed this as completed Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed in next release The issue will be closed once next release is available
Projects
None yet
Development

No branches or pull requests

2 participants