-
Notifications
You must be signed in to change notification settings - Fork 59.7k
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
[Feature Request] Add Gemini 2.0 Flash Exp, Gemini Exp-1206 Models and Gemini Stream Realtime Functionality #5931
Comments
🥰 Description of requirementsThe following Google Gemini models and new features are expected to be supported: Gemini 2.0 Flash Exp model: A lightweight, faster Gemini model, suitable for low latency, high quality, and tested to be better than the Pro-level model. 🧐 SolutionCan users be allowed to select a specific Gemini model in the configuration, provide an API interface, and use the Gemini real-time chat function? OpenAI consumes credits and is not cost-effective, while Google provides a limited number of free ones, which is enough for personal use. These functions are currently available for preview in Google AI Studio. The new version of the model requires a new SDK, please refer to https://cloud.google.com/vertex-ai/generative-ai/docs/sdks/overview 📝 Supplementary informationHopefully the team will consider this request and include it in the development plan as soon as possible. |
可以暂时在 |
You can temporarily put a |
但是不能上传文件,无法识别图片和视频,能否搞定一下 |
But I can’t upload files and can’t recognize pictures and videos. Can you fix it? |
应该是识别是否为视觉模型的isVisionModel里面没有gemini-2.0的关键词匹配,需要自己修改那个代码。视频能上传吗?别的模型好像也不行。 |
It should be that there is no keyword matching for gemini-2.0 in the isVisionModel that identifies whether it is a visual model, and you need to modify that code yourself. Can videos be uploaded? Other models don't seem to work either. |
Lines 258 to 267 in 83cea3a
目前判断vision模型的方法还不够灵活,需要修改源码 |
Lines 258 to 267 in 83cea3a
The current method of judging the vision model is not flexible enough and the source code needs to be modified. |
🥰 需求描述
希望支持以下 Google Gemini 模型和新功能:
Gemini 2.0 Flash Exp 模型: 轻量级、速度更快的 Gemini 模型,适用于低延迟、高质量,经过测试,比Pro级别的模型都要更好。
Gemini Exp-1206 模型: 特定 Gemini 模型版本,可能包含特定功能或优化。
Stream Realtime功能: Google 近期推出的实时交互式聊天功能。
🧐 解决方案
能不能允许用户在配置中选择特定 Gemini 模型,提供 API 接口,以及使用Gemini实时聊天功能,OpenAI的要消耗额度,不划算,而谷歌是限量免费的,足够个人使用。目前这些功能在Google AI Studio已经可以预览了。新版本的模型需要新的SDK,可以参考https://cloud.google.com/vertex-ai/generative-ai/docs/sdks/overview
https://cloud.google.com/vertex-ai/generative-ai/docs/gemini-v2
另外,新模型好像还支持画图,谷歌的Imagen 3画图模型应该也有API可以用,能否支持一下?
📝 补充信息
希望团队考虑此请求,并尽快将其纳入开发计划。
The text was updated successfully, but these errors were encountered: