interface CreateAssistantParams
implements HasMetadata
Re-export
import { type CreateAssistantParams } from "https://deno.land/x/openai_deno@v0.9.8/mod.ts";
Properties
The description of the assistant. The maximum length is 512 characters.
The system instructions that the assistant uses. The maximum length is 32768 characters.
optional
tools: ({ type: "codeInterpreter"; } | { type: "retrieval"; } | { type: "function"; function: Function; })[]A list of tool enabled on the assistant.
There can be a maximum of 128 tools per assistant.
Tools can be of types codeInterpreter
, retrieval
, or function
.
A list of file IDs attached to this assistant.
There can be a maximum of 20 files attached to the assistant.
Files are ordered by their creation date in ascending order.