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 Vertex AI #108

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Support for Vertex AI #108

wants to merge 1 commit into from

Conversation

pmuilu
Copy link

@pmuilu pmuilu commented Aug 13, 2024

Support for Vertex AI (#37). It would be nice if someone also with Gemini API key could quickly review whether the change works.

Usage

When using models from Vertex, always start with "vertex-" prefix. For example "gemini-1.5-flash-preview-0514" should be defined as "vertex-gemini-1.5-flash-preview-0514"

As you would with any Vertex AI API, first initialize with your project (and optionally with location etc.):

vertexai.init(project="your-project-id")

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

Successfully merging this pull request may close these issues.

1 participant