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

Support for Service Account (from Google Vertex AI) to access Gemini services #317

Open
sree1658 opened this issue Feb 11, 2025 · 0 comments

Comments

@sree1658
Copy link

Hi Hadley,

We attempted using ellmer library functions to access Gemini API services with service account json key file. We also found another library (gemini.R maintained by Jinhwan Kim) https://github.com/jhk0530/gemini.R which has support for Vertex platform from Google

Given a Service account Key from Google vertex ai platform,

{
"type": "service_account",
"project_id": "my-project-id",
"private_key_id": "someprivatekeyid",
"private_key": "...PRIVATE_KEY...",
"client_email": "[email protected]",
"client_id": "my-client-id.apps.googleusercontent.com",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/my-service-account my-project-id.iam.gserviceaccount.com"
}

Could you please enable support for Service account (from google vertex ai platform) in ellmer library

Thanks
Sreeram R

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

No branches or pull requests

1 participant