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

[Bug]: Accessing Gemini models using Vertex AI for WebAPP #939

Open
1 task done
surendransuri opened this issue Aug 12, 2024 · 0 comments
Open
1 task done

[Bug]: Accessing Gemini models using Vertex AI for WebAPP #939

surendransuri opened this issue Aug 12, 2024 · 0 comments

Comments

@surendransuri
Copy link

surendransuri commented Aug 12, 2024

File Name

intro_gemini_python

What happened?

I have developed a web app outside gcp in azure platform that includes a chat application. I want to integrate gemini models in that. I possess an enterprise license for the Gemini subscription and am using service account credentials for authentication. The issue I'm encountering is that the Google OAuth tokens, generated using the service account details, expire after a certain interval.
My goal is for the web app to be continuously running and ready to answer user questions instantly, interfacing with the Gemini model without delay. However, I can't use API Keys or endpoint authentication like the Google AI developers for the enterprise version.
Please help me resolve this issue. How can I ensure my web app remains operational and responsive with continuous authentication?

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
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