generative-ai

Sample code and notebooks for Generative AI on Google Cloud, with Gemini on Vertex AI

open-sourcetool-integration
Visit WebsiteView on GitHub
16.5k
Stars
+1374
Stars/month
0
Releases (6m)

Overview

A comprehensive repository containing sample code, notebooks, and applications for building generative AI solutions on Google Cloud Platform using Vertex AI. This resource serves as the official collection of practical examples for Google's generative AI services, including the latest Gemini 3.1 Pro model, Imagen for computer vision tasks, and Vertex AI Search capabilities. The repository is organized into specialized sections covering different AI domains: Gemini for conversational AI and function calling, vision processing with Imagen, retrieval-augmented generation (RAG) implementations, and enterprise search solutions. With over 16,000 GitHub stars, it represents the go-to learning resource for developers working with Google's AI ecosystem. The content includes starter notebooks for beginners, advanced use cases, sample applications, and production-ready code patterns that demonstrate best practices for deploying generative AI workflows on Google Cloud infrastructure.

Pros

  • + Comprehensive coverage of Google Cloud's entire generative AI stack with practical, runnable examples
  • + Regularly updated with latest models and features, including recent Gemini 3.1 Pro integration
  • + High-quality, well-documented code samples that serve as production-ready starting points

Cons

  • - Exclusively focused on Google Cloud Platform, limiting portability to other cloud providers
  • - Requires Google Cloud account and potentially significant cloud costs for experimentation
  • - Learning resource rather than a standalone tool, requiring additional setup and configuration

Use Cases

Getting Started

Clone the repository from GitHub, set up a Google Cloud Platform account with Vertex AI API enabled, then navigate to the relevant folder (gemini/, search/, or vision/) and run the introductory Jupyter notebooks in Google Colab or your local environment.