Class: OpenAI::Models::Responses::ResponseToolSearchOutputItemParam::Tool::ImageGeneration::Svg
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ResponseToolSearchOutputItemParam::Tool::ImageGeneration::Svg
- Defined in:
- lib/openai/models/responses/response_tool_search_output_item_param.rb,
sig/openai/models/responses/response_tool_search_output_item_param.rbs
Overview
Defined Under Namespace
Classes: Reasoning
Instance Attribute Summary collapse
- #model ⇒ String?
-
#reasoning ⇒ OpenAI::Responses::ResponseToolSearchOutputItemParam::Tool::ImageGeneration::Svg::Reasoning?
Reasoning effort for SVG authoring.
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize(model: nil, reasoning: nil) ⇒ Svg
constructor
A new instance of Svg.
- #to_hash ⇒ { ?model: String, ?reasoning: OpenAI::Responses::ResponseToolSearchOutputItemParam::Tool::ImageGeneration::Svg::Reasoning? }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #inspect, inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(model: nil, reasoning: nil) ⇒ Svg
Returns a new instance of Svg.
|
|
# File 'lib/openai/models/responses/response_tool_search_output_item_param.rb', line 1347
|
Instance Attribute Details
#model ⇒ String?
1332 |
# File 'lib/openai/models/responses/response_tool_search_output_item_param.rb', line 1332 optional :model, String |
#reasoning ⇒ OpenAI::Responses::ResponseToolSearchOutputItemParam::Tool::ImageGeneration::Svg::Reasoning?
Reasoning effort for SVG authoring. When omitted, uses the author model's default in both Images and Responses.
1339 1340 1341 1342 1343 1344 1345 |
# File 'lib/openai/models/responses/response_tool_search_output_item_param.rb', line 1339 optional( :reasoning, -> { OpenAI::Responses::ResponseToolSearchOutputItemParam::Tool::ImageGeneration::Svg::Reasoning }, nil?: true ) |
Instance Method Details
#to_hash ⇒ { ?model: String, ?reasoning: OpenAI::Responses::ResponseToolSearchOutputItemParam::Tool::ImageGeneration::Svg::Reasoning? }
1177 1178 1179 1180 |
# File 'sig/openai/models/responses/response_tool_search_output_item_param.rbs', line 1177
def to_hash: -> {
?model: String,
?reasoning: OpenAI::Responses::ResponseToolSearchOutputItemParam::Tool::ImageGeneration::Svg::Reasoning?
}
|