Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/openai/resources/beta/threads/runs/steps.ts>CodeInterpreterToolCallDelta.CodeInterpreter

Deno build of the official Typescript library for the OpenAI API.
Extremely Popular
Go to Latest
interface CodeInterpreterToolCallDelta.CodeInterpreter
import { type CodeInterpreterToolCallDelta } from "https://deno.land/x/openai@v4.31.0/resources/beta/threads/runs/steps.ts";
const { CodeInterpreter } = CodeInterpreterToolCallDelta;

The Code Interpreter tool call definition.

Properties

optional
input: string

The input to the Code Interpreter tool call.

optional
outputs: Array<StepsAPI.CodeInterpreterLogs | StepsAPI.CodeInterpreterOutputImage>

The outputs from the Code Interpreter tool call. Code Interpreter can output one or more items, including text (logs) or images (image). Each of these are represented by a different object type.