Comments (3)
@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
from generative-ai-python.
How do you see what region you're using?
from generative-ai-python.
@ishaangandhi I think the API just does some GeoIP-lookup on the request.
from generative-ai-python.
Related Issues (20)
- Benefit to TrusteeType Benefit
- json mode outputs extra brackets or doesn't include HOT 9
- Get finish_reason: 6 without reason and content reply HOT 4
- Ag2279122/Workday www.githubstatus.com/?subscription_confirmed=Trustee HOT 2
- www.google.com/finance/portfolio/1f3be294-4e5a-496e-8453-9ca892029401?window=1 HOT 1
- 7314874656 HOT 2
- google.api_core.exceptions.InvalidArgument: 400 API key not valid. Please pass a valid API key. [reason: "API_KEY_INVALID" domain: "googleapis.com" metadata { key: "service" value: "generativelanguage.googleapis.com" } ] HOT 2
- Context Cache and updating Gemini Code Assist HOT 1
- WARNING: All log messages before absl::InitializeLog() is called are written to STDERR HOT 2
- 1.0 Release
- Missing stream=True Parameter in _StreamGenerateContent Class of GenerativeServiceRestTransport Causes Non-Streaming Requests HOT 6
- TypeError when running the example HOT 1
- generate_content_async broken in Colab? HOT 2
- 503 The service is currently unavailable when using Context caching Feature HOT 3
- API docs are very hidden / should be linked from ai.google.dev/gemini-api and main readme
- Lets get a sample of standard retry logic with exponential backoff, etc.
- Latest Python does not supported HOT 2
- "500 An internal error has occurred" while using the gemini-1.5-flash HOT 2
- Can't install latest grpc with generative-ai-python HOT 5
- Can not find message descriptor by type_url: type.googleapis.com/plaque.trace.StatusContext HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from generative-ai-python.