import { AssistantUpdateParams } from "https://deno.land/x/openai@v4.52.1/resources/beta/mod.ts";
const { ToolResources } = AssistantUpdateParams.ToolResources;
import { type AssistantUpdateParams } from "https://deno.land/x/openai@v4.52.1/resources/beta/mod.ts";
const { ToolResources } = AssistantUpdateParams.ToolResources;
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.FileSearchProperties
Overrides the list of
file IDs made available
to the code_interpreter
tool. There can be a maximum of 20 files associated
with the tool.
Properties
Overrides the vector store attached to this assistant. There can be a maximum of 1 vector store attached to the assistant.
Properties
optional
code_interpreter: ToolResources.CodeInterpreteroptional
file_search: ToolResources.FileSearch