class

OpenAI::ModifyAssistantRequest

Inherits JSON::Serializable < Reference < Object

Constructors

new(model : ModifyAssistantRequestModel | Nil = nil, reasoning_effort : ReasoningEffort | Nil = nil, name : ModifyAssistantRequestName | Nil = nil, description : ModifyAssistantRequestDescription | Nil = nil, instructions : ModifyAssistantRequestInstructions | Nil = nil, tools : Array(AssistantTool) | Nil = nil, tool_resources : ModifyAssistantRequestToolResources | Nil = nil, metadata : Metadata | Nil = nil, temperature : ModifyAssistantRequestTemperature | Nil = nil, top_p : ModifyAssistantRequestTopP | Nil = nil, response_format : ModifyAssistantRequestResponseFormat | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

description
Source
description=(description : ModifyAssistantRequestDescription | Nil)
Source
instructions
Source
instructions=(instructions : ModifyAssistantRequestInstructions | Nil)
Source
metadata
Source
metadata=(metadata : Metadata | Nil)
Source
model

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.

Source
model=(model : ModifyAssistantRequestModel | Nil)

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.

Source
name
Source
name=(name : ModifyAssistantRequestName | Nil)
Source
reasoning_effort
Source
reasoning_effort=(reasoning_effort : ReasoningEffort | Nil)
Source
response_format
Source
response_format=(response_format : ModifyAssistantRequestResponseFormat | Nil)
Source
temperature
Source
temperature=(temperature : ModifyAssistantRequestTemperature | Nil)
Source
tool_resources
Source
tool_resources=(tool_resources : ModifyAssistantRequestToolResources | Nil)
Source
tools

A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types code_interpreter, file_search, or function.

Source
tools=(tools : Array(AssistantTool) | Nil)

A list of tool enabled on the assistant. There can be a maximum of 128 tools per assistant. Tools can be of types code_interpreter, file_search, or function.

Source
top_p
Source
top_p=(top_p : ModifyAssistantRequestTopP | Nil)
Source