Table of Contents

Class GeminiExecutableCode

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

public class GeminiExecutableCode
Inheritance
GeminiExecutableCode
Extension Methods

Remarks

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

Fields

Code

The code to be executed.

public string Code

Field Value

string

Language

Programming language of the Code.

public GeminiCodeExecutionLanguage Language

Field Value

GeminiCodeExecutionLanguage