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

x/openai/resources/beta/threads/runs/mod.ts>CodeToolCall.CodeInterpreter

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

The Code Interpreter tool call definition.

Properties

input: string

The input to the Code Interpreter tool call.

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.