What’s the difference between google-cloud-go/vertexai/genai at main · googleapis/google-cloud-go · GitHub and GitHub - google/generative-ai-go: Go SDK for Google Generative AI?
Welcome to the forums!
Google provides two platforms where you can access the Gemini API:
- Google Cloud Vertex AI
- AI Studio (which is sometimes called “Google Generative AI”)
Each library only works with one of these platforms.
The two libraries are pretty similar, providing very similar interfaces to the Gemini API. Where they differ mostly focus on the differences between the two platforms (for example, AI Studio has the File API, while the Vertex AI platform doesn’t support that and, instead, uses Google Cloud Storage for a similar operation).
1 Like