import { ThreadCreateAndRunParams } from "https://deno.land/x/openai@v4.41.1/resources/beta/threads/mod.ts";
const { ToolResources } = ThreadCreateAndRunParams.Thread;
import { type ThreadCreateAndRunParams } from "https://deno.land/x/openai@v4.41.1/resources/beta/threads/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.CodeInterpreteroptional
file_search: ToolResources.FileSearch