UGemini 2.0.1
A C# wrapper for the Google Gemini API.
Loading...
Searching...
No Matches
Uralstech.UGemini.Models.Generation.Tools.CodeExecution Namespace Reference

Classes

class  GeminiCodeExecutionResult
 Result of executing the GeminiExecutableCode. More...
 
class  GeminiExecutableCode
 Code generated by the model that is meant to be executed, and the result returned to the model. More...
 

Enumerations

enum  GeminiCodeExecutionLanguage { Unspecified , Python }
 Supported programming languages for the generated code. More...
 
enum  GeminiCodeExecutionOutcome { Unspecified , Ok , Failed , DeadlineExceeded }
 Enumeration of possible outcomes of the code execution. More...
 

Enumeration Type Documentation

◆ GeminiCodeExecutionLanguage

Supported programming languages for the generated code.

Enumerator
Unspecified 

Unspecified language. This value should not be used.

Python 

Python >= 3.10, with numpy and simpy available.

◆ GeminiCodeExecutionOutcome

Enumeration of possible outcomes of the code execution.

Enumerator
Unspecified 

Unspecified status. This value should not be used.

Ok 

Code execution completed successfully.

Failed 

Code execution finished but with a failure. stderr should contain the reason.

DeadlineExceeded 

Code execution ran for too long, and was cancelled. There may or may not be a partial output present.