Gemini Cookbook: Official Quickstarts
Google's official Gemini quickstarts: function calling, audio, File API, caching, code execution, embeddings, and Live API. Real Python code from the Google team.
Getting Started with Google GenAI SDK
Install the new Google GenAI SDK, initialize a client, send text and multimodal prompts, set system instructions, count tokens and configure generation parameters.
Function Calling
Connect Python functions as model tools, explore automatic and manual calling modes, inspect chat history with FunctionCall/FunctionResponse, and understand FunctionDeclaration schemas.