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

x/openai/resources/beta/assistants.ts>Assistant.ToolResources

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

A set of resources that are used by the assistant's tools. 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