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

[Feature Request] 支持Vertex AI版的Gemini #5185

Open
lihan opened this issue Aug 4, 2024 · 5 comments
Open

[Feature Request] 支持Vertex AI版的Gemini #5185

lihan opened this issue Aug 4, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@lihan
Copy link

lihan commented Aug 4, 2024

🥰 需求描述

和Google AI的Gemini不一样,还有一个Vertex AI版的Gemini
Vertex AI版的验证方式是Service Account 或者用的更多的是ADC (Application Default Credentials), 而不用API Key

🧐 解决方案

增加对Vertex AI版的Gemini的支持

📝 补充信息

No response

@lihan lihan added the enhancement New feature or request label Aug 4, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request] Support Vertex AI version of Gemini

🥰 Description of requirements

Unlike Google AI’s Gemini, there is also a Vertex AI version of Gemini.
The verification method of Vertex AI version is Service Account or more commonly used is ADC (Application Default Credentials) instead of API Key.

🧐 Solution

Added support for Vertex AI version of Gemini

📝 Supplementary information

No response

@lloydzhou
Copy link
Contributor

lloydzhou commented Aug 5, 2024

能发一下Vertex AI版的Gemini的官方文档吗?一方面是给研发看,一方面issue中的信息会详细一些

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Can you send the official documentation of the Vertex AI version of Gemini? On the one hand, it is for R&D, and on the other hand, the information in the issue will be richer.

@lihan
Copy link
Author

lihan commented Aug 5, 2024

https://cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/quickstart-multimodal

虽然都是Gemini 但Python部分是不一样的

Vertex AI版本是从Vertexai库载入的
from vertexai.generative_models import GenerativeModel

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


https://cloud.google.com/vertex-ai/generative-ai/docs/start/quickstarts/quickstart-multimodal

Although they are both Gemini, the Python part is different.

The Vertex AI version is loaded from the Vertexai library
from vertexai.generative_models import GenerativeModel

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

4 participants