Skip to content

Latest commit

 

History

History
65 lines (39 loc) · 1.3 KB

File metadata and controls

65 lines (39 loc) · 1.3 KB

google.generativeai.protos.ExecutableCode

View source on GitHub

Code generated by the model that is meant to be executed, and the result returned to the model.

Only generated when using the CodeExecution tool, in which the code will be automatically executed, and a corresponding CodeExecutionResult will also be generated.

Attributes

language

google.ai.generativelanguage.ExecutableCode.Language

Required. Programming language of the code.

code

str

Required. The code to be executed.

Child Classes

class Language