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
373 374 375 |
# File 'lib/copilot/types.rb', line 373 def max_prompt_image_size @max_prompt_image_size end |
#max_prompt_images ⇒ Object
Returns the value of attribute max_prompt_images
373 374 375 |
# File 'lib/copilot/types.rb', line 373 def max_prompt_images @max_prompt_images end |
#supported_media_types ⇒ Object
Returns the value of attribute supported_media_types
373 374 375 |
# File 'lib/copilot/types.rb', line 373 def supported_media_types @supported_media_types end |
Class Method Details
.from_hash(h) ⇒ Object
377 378 379 380 381 382 383 |
# File 'lib/copilot/types.rb', line 377 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 |