v6
latestSwagger 2.02026-07-1340109191.2 KBModifies an existing assistant.
Path parameters
The ID of the assistant to modify.
Request body
The ID of the model to use.
The modified name for the assistant to use.
The modified description for the assistant to use.
The modified system instructions for the new assistant to use.
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.
An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
We generally recommend altering this or temperature but not both.
A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length.
Response
The updated assistant instance.
The identifier, which can be referenced in API endpoints.
The object type, which is always assistant.
The Unix timestamp, in seconds, representing when this object was created.
The name of the assistant.
The description of the assistant.
The ID of the model to use.
The system instructions for the assistant to use.
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.
An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered.
We generally recommend altering this or temperature but not both.
A set of up to 16 key/value pairs that can be attached to an object, used for storing additional information about that object in a structured format. Keys may be up to 64 characters in length and values may be up to 512 characters in length.