Class: OpenAI::Models::Beta::Threads::ImageURLDelta
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::Threads::ImageURLDelta
- Defined in:
- lib/openai/models/beta/threads/image_url_delta.rb
Defined Under Namespace
Modules: Detail
Instance Attribute Summary collapse
-
#detail ⇒ Symbol, ...
Specifies the detail level of the image.
-
#url ⇒ String?
The URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.
Instance Method Summary collapse
-
#initialize(detail: nil, url: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see ImageURLDelta for more details.
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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, #dump, dump, #inspect, inspect, 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(detail: nil, url: nil) ⇒ Object
Some parameter documentations has been truncated, see OpenAI::Models::Beta::Threads::ImageURLDelta for more details.
|
# File 'lib/openai/models/beta/threads/image_url_delta.rb', line 22
|
Instance Attribute Details
#detail ⇒ Symbol, ...
Specifies the detail level of the image. ‘low` uses fewer tokens, you can opt in to high resolution using `high`.
13 |
# File 'lib/openai/models/beta/threads/image_url_delta.rb', line 13 optional :detail, enum: -> { OpenAI::Beta::Threads::ImageURLDelta::Detail } |
#url ⇒ String?
The URL of the image, must be a supported image types: jpeg, jpg, png, gif, webp.
20 |
# File 'lib/openai/models/beta/threads/image_url_delta.rb', line 20 optional :url, String |