Use Google Gemini from Python — Brand New SDK (Code example included!)

Abish Pius
3 min readDec 15, 2023

Google’s Gemini API introduces a powerful and versatile tool for data scientists and developers to tap into the capabilities of large language models. In this blog post, we’ll explore the Python SDK for the Gemini API and demonstrate its usage through various scenarios, ranging from text-only prompts to multi-turn conversations and multimodal inputs.

--

--

Abish Pius

Data Science Professional, Python Enthusiast, turned LLM Engineer