Table of Contents

Class InteractionCodeExecutionResultDelta

Namespace
GenerativeAI.Types
Assembly
GenerativeAI.dll

A code execution result delta (code_execution_result).

public sealed class InteractionCodeExecutionResultDelta : InteractionStepDeltaData
Inheritance
InteractionCodeExecutionResultDelta
Inherited Members
Extension Methods

Constructors

InteractionCodeExecutionResultDelta()

Initializes a new instance of the InteractionCodeExecutionResultDelta class.

public InteractionCodeExecutionResultDelta()

Properties

IsError

Whether the execution resulted in an error.

[JsonPropertyName("is_error")]
public bool? IsError { get; set; }

Property Value

bool?

Result

The output of the code execution.

[JsonPropertyName("result")]
public string? Result { get; set; }

Property Value

string