It demonstrates how to use the Python SDK for the Gemini API, which gives you access to Google's Gemini large language models. It demonstrate to
- Set up your development environment and API access to use Gemini.
- Generate text responses from text inputs.
- Use embeddings for large language models.
- Generate text responses from multimodal inputs (text and images).
To run this locally, ensure that your development environment meets the following requirements:
- Python 3.9+
- Has Google cloud credentials and Generative AI API enabled in your Google cloud account.
- An installation of
jupyter
to run the notebook.
You can run this quickstart in Google Colab, which runs this notebook directly in the browser and does not require additional environment configuration.