struct OpenAI::AssistantRequest
inherits Struct
#
Included modules
JSON::Serializable
OpenAI::AssistantRequest
Struct
#JSON::Serializable
.new(model : String, name : String | Nil = nil, description : String | Nil = nil, instructions : String | Nil = nil, tools : Array(AssistantTool) | Nil = nil, file_ids : Array(String) | Nil = nil, metadata : Hash(String, JSON::Any) | Nil = nil)
##copy_with(model _model = @model, name _name = @name, description _description = @description, instructions _instructions = @instructions, tools _tools = @tools, file_ids _file_ids = @file_ids, metadata _metadata = @metadata)
##description : String | ::Nil
##file_ids : Array(String) | ::Nil
##instructions : String | ::Nil
##metadata : Hash(String, JSON::Any) | ::Nil
##model : String
##name : String | ::Nil
##tools : Array(AssistantTool) | ::Nil
#