Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

GenAI - Google Gemini and other models

The Google Cloud Vertex AI conceptual model for Generative AI workflow is shown below (image from Google documentation at link.)

Vertex AI includes a model garden with a large number of models which are categorized as foundational, fine-tunable or task specific. These include models built by Google as well as many other industry and open source models. Shown below is screenshot of some of the the currently available models and associated services in the VertexAI Model Garden.

What is Gemini LLM?

Google Gemini is a large language model that can be used for a variety of tasks, including text generation, text classification, text summarization, text translation, text-to-speech, speech-to-text, image captioning, image classification, image generation, image-to-text, video captioning, video classification, video generation, video-to-text, and multimodal tasks.

About Google Gemini Models

Google Gemini is available in multiple (multi-modal input) versions. Flash is the smallest version of Gemini, and is designed for use on mobile devices. Pro is the most powerful version of Gemini, and is designed for use on desktop computers. Ultra is the most powerful version of Gemini, and is designed for use on servers. Gemini has multiple editions and versions.

  • Gemini 2.5 Pro announced March 2025 - most advanced model, several versions available.
  • Gemini 2.0 several versions (i.e. Flash, etc...) available.
  • Gemini model lifecycle information is summarized in this page
  • Google Gemma is a family of lightweight, state-of-the art open models built from the same research and technology that we used to create the Gemini models.

Example Notebooks and Guidance

Google has created tools and also published a number of resources to get you started working with Gemini. I've linked highlights below.

Tools / IDEs / Envs

Prompt Guidance from Google

Starter Example Jupyter Notebook for Google Gemini LLM

The following Jupyter Notebook is an example of how to use Google Gemini LLM for text generation. It uses the Pro version of Gemini, and shows how to call the API using Python. It also shows how to use the API to generate text from a prompt. The notebook can be run in Google Colab, or on a local machine with Python 3 installed. The notebook can be found here: Google Gemini LLM Example Notebook

More Examples from Google (Notebooks and Applications)

  • 📺 Video "How to build Multimodal Retrieval-Augmented Generation (RAG) with Gemini" --> link
  • 📚 Vertex AI GenAI example notebooks explained and linked --> link
  • :octocat: Example notebooks on GitHub --> link
  • 📓 Jumpstart Document Summary Application --> link
  • :octocat: Gemini Cookbook (notebook examples) --> link
  • 📓 📓 📓 MANY Model evaluation notebooks --> link
  • Source code for GKE demo on Github - end-to-end application with 11 microservices, includes use of LLM Google Gemini

Learn More

  • Google's big list: Learn More About GenAI --> link
  • Google's Architecture Center (JumpStarts for GenAI - deployable patterns) --> links
  • Article: GenAI Apps w/VertexAI Models and Langchain --> link
  • Article: Generate Text Embeddings with BigQuery --> link
  • Example code: ChromaDB w/ Gemini --> link
  • Article: Exploring the API of Gemini --> link
  • Big link list: Awesome Gemini for Google Cloud --> link