Table of Contents

Class CodeInterpreterOutput

Namespace
Glitch9.AIDevKit

A tool call to run code.

public class CodeInterpreterOutput : ToolOutput, IPrompt
Inheritance
object
CodeInterpreterOutput
Implements
Inherited Members
Extension Methods

Constructors

CodeInterpreterOutput()

public CodeInterpreterOutput()

Properties

Code

Required. The code to run, or null if not available.

public string Code { get; set; }

Property Value

string

ContainerId

Required. The ID of the container used to run the code.

public string ContainerId { get; set; }

Property Value

string

Outputs

Required. The outputs generated by the code interpreter, such as logs or images. Can be null if no outputs are available.

public List<CodeInterpreterResult> Outputs { get; set; }

Property Value

List<CodeInterpreterResult>