Assistant
Constructors
Properties
The description of the assistant. The maximum length is 512 characters.
The identifier, which can be referenced in API endpoints.
The system instructions that the assistant uses. The maximum length is 32768 characters.
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format. Keys can be a maximum of 64 characters long, and values can be a maximum of 512 characters long.
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.
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 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.
A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types CodeInterpreter, FileSearch, or FunctionTool