interface Assistant
implements HasMetadata
import { type Assistant } from "https://deno.land/x/openai_deno@v0.9.8/src/types/assistants.ts";
Properties
The description of the assistant. The maximum length is 512 characters.
ID of the model to use.
You can use the List models API to see all of your available models, or see our Model overview for descriptions of them.
The system instructions that the assistant uses. The maximum length is 32768 characters.
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.