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

x/openai/resources/beta/mod.ts>ThreadCreateAndRunParams.Thread.ToolResources

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

A set of resources that are made available to the assistant's tools in this thread. The resources are specific to the type of tool. For example, the code_interpreter tool requires a list of file IDs, while the file_search tool requires a list of vector store IDs.

Properties

optional
code_interpreter: ToolResources.CodeInterpreter