Class: Copilot::ModelVisionLimits
- Inherits:
-
Struct
- Object
- Struct
- Copilot::ModelVisionLimits
- Defined in:
- lib/copilot/types.rb
Overview
Model vision limits.
Instance Attribute Summary collapse
-
#max_prompt_image_size ⇒ Object
Returns the value of attribute max_prompt_image_size.
-
#max_prompt_images ⇒ Object
Returns the value of attribute max_prompt_images.
-
#supported_media_types ⇒ Object
Returns the value of attribute supported_media_types.
Class Method Summary collapse
Instance Attribute Details
#max_prompt_image_size ⇒ Object
Returns the value of attribute max_prompt_image_size
371 372 373 |
# File 'lib/copilot/types.rb', line 371 def max_prompt_image_size @max_prompt_image_size end |
#max_prompt_images ⇒ Object
Returns the value of attribute max_prompt_images
371 372 373 |
# File 'lib/copilot/types.rb', line 371 def max_prompt_images @max_prompt_images end |
#supported_media_types ⇒ Object
Returns the value of attribute supported_media_types
371 372 373 |
# File 'lib/copilot/types.rb', line 371 def supported_media_types @supported_media_types end |
Class Method Details
.from_hash(h) ⇒ Object
375 376 377 378 379 380 381 |
# File 'lib/copilot/types.rb', line 375 def self.from_hash(h) new( supported_media_types: h["supported_media_types"], max_prompt_images: h["max_prompt_images"], max_prompt_image_size: h["max_prompt_image_size"] ) end |