0

Code Execution in Gemini

enables developers to use the Gemini model to generate and execute code with a single API call. You can use this code execution capability to build applications that benefit from code-based reasoning. For example, you could use code execution in an application that solves equations or processes text

Example · مثالgemini

Content

Code Execution in Gemini

Code Execution in Gemini enables developers to use the Gemini model to generate and execute code with a single API call. You can use this code execution capability to build applications that benefit from code-based reasoning. For example, you could use code execution in an application that solves equations or processes text.

Sample notebooks and apps

| Description | Sample Name | | ------------------------------------------------------------- | -------------------------------------------------------- | | Intro to Generating and Executing Python Code with Gemini | [intro_code_execution.ipynb](intro_code_execution.ipynb) | | Intro to Gemini Agentic Vision | [intro_agentic_vision.ipynb](intro_agentic_vision.ipynb) |

Source and license

Source
Google Cloud Generative AI
Original
GoogleCloudPlatform/generative-ai/gemini/code-execution
License
Apache-2.0