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