AssistantRequest
Constructors
Properties
The description of the assistant. Optional. The maximum length is 512 characters.
The system instructions that the assistant uses. Optional. The maximum length is 32768 characters.
Specifies the format that the model must output. Compatible with GPT-4o, GPT-4 Turbo, and all GPT-3.5 Turbo models since gpt-3.5-turbo-1106.
What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
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.
A list of tools enabled on the assistant. Optional. Defaults to an empty list. Tools can be of types code_interpreter, retrieval, or function.