This repository provides code examples and utilities for utilizing Google's Generative AI API with Gemini Pro and Gemini Pro Vision. Below is an overview of the functionality and features covered in this repository.
This module focuses on text generation and conversation using the Gemini Pro model. It includes basic setup, model configuration, and examples of generating textual content and engaging in chat-based interactions.
This module extends the capabilities to image-related tasks. It demonstrates how to fetch and process images, generate content based on image inputs, and perform tasks like image comparison.
To get started, install the required packages using the following commands:
!pip -q install google-generativeai==0.3.0
!pip -q install google-ai-generativelanguage==0.4.0