Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

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

The Code Interpreter tool call definition.

Properties

input: string

The input to the Code Interpreter tool call.

outputs: Array<CodeInterpreter.Logs | CodeInterpreter.Image>

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.