Code Interpreter
Represents the data for a Tool.Type.CODE_INTERPRETER tool call. This contains the code that was run by the code interpreter, and the outputs of the code interpreter.
Types
Link copied to clipboard
Represents an Output.Type.IMAGE output. This only holds the ID of the generated image file. You can use this ID to retrieve the image file.
Link copied to clipboard
Represents an Output.Type.LOGS output. This only holds the text that was outputted by the code interpreter.
Link copied to clipboard
A sealed class that represents the output of 1 CodeInterpreter step.