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

x/openai/resources/beta/threads/threads.ts>ThreadCreateAndRunParams.ToolResources.CodeInterpreter

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

Properties

optional
file_ids: Array<string>

A list of file IDs made available to the code_interpreter tool. There can be a maximum of 20 files associated with the tool.