We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I find that there is a way to set the location in vertex ai:
from google.cloud import aiplatform import vertexai from vertexai.language_models import TextGenerationModel project_id = "test" location = "us-central1" vertexai.init(project=project_id, location=location)
Is there any method to do the same thing in generative language api (this repository)?
The text was updated successfully, but these errors were encountered:
@Junjie-Chu As of my knowledge you can't. It is only possible for Google cloud VertexAI users. See the migration guide to know the difference with Google AI Studio and Vertex AI https://cloud.google.com/vertex-ai/docs/generative-ai/migrate/migrate-google-ai#google-ai
Sorry, something went wrong.
How do you see what region you're using?
@ishaangandhi I think the API just does some GeoIP-lookup on the request.
No branches or pull requests
I find that there is a way to set the location in vertex ai:
Is there any method to do the same thing in generative language api (this repository)?
The text was updated successfully, but these errors were encountered: