Class: Anthropic::Models::ModelCapabilities
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::ModelCapabilities
- Defined in:
- lib/anthropic/models/model_capabilities.rb
Instance Attribute Summary collapse
-
#batch ⇒ Anthropic::Models::CapabilitySupport
Whether the model supports the Batch API.
-
#citations ⇒ Anthropic::Models::CapabilitySupport
Whether the model supports citation generation.
-
#code_execution ⇒ Anthropic::Models::CapabilitySupport
Whether the model supports code execution tools.
-
#context_management ⇒ Anthropic::Models::ContextManagementCapability
Context management support and available strategies.
-
#effort ⇒ Anthropic::Models::EffortCapability
Effort (reasoning_effort) support and available levels.
-
#image_input ⇒ Anthropic::Models::CapabilitySupport
Whether the model accepts image content blocks.
-
#pdf_input ⇒ Anthropic::Models::CapabilitySupport
Whether the model accepts PDF content blocks.
-
#structured_outputs ⇒ Anthropic::Models::CapabilitySupport
Whether the model supports structured output / JSON mode / strict tool schemas.
-
#thinking ⇒ Anthropic::Models::ThinkingCapability
Thinking capability and supported type configurations.
Instance Method Summary collapse
-
#initialize(batch:, citations:, code_execution:, context_management:, effort:, image_input:, pdf_input:, structured_outputs:, thinking:) ⇒ void
constructor
Model capability information.
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, meta_info, new_coerce_state, 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(batch:, citations:, code_execution:, context_management:, effort:, image_input:, pdf_input:, structured_outputs:, thinking:) ⇒ void
Model capability information.
|
|
# File 'lib/anthropic/models/model_capabilities.rb', line 60
|
Instance Attribute Details
#batch ⇒ Anthropic::Models::CapabilitySupport
Whether the model supports the Batch API.
10 |
# File 'lib/anthropic/models/model_capabilities.rb', line 10 required :batch, -> { Anthropic::CapabilitySupport } |
#citations ⇒ Anthropic::Models::CapabilitySupport
Whether the model supports citation generation.
16 |
# File 'lib/anthropic/models/model_capabilities.rb', line 16 required :citations, -> { Anthropic::CapabilitySupport } |
#code_execution ⇒ Anthropic::Models::CapabilitySupport
Whether the model supports code execution tools.
22 |
# File 'lib/anthropic/models/model_capabilities.rb', line 22 required :code_execution, -> { Anthropic::CapabilitySupport } |
#context_management ⇒ Anthropic::Models::ContextManagementCapability
Context management support and available strategies.
28 |
# File 'lib/anthropic/models/model_capabilities.rb', line 28 required :context_management, -> { Anthropic::ContextManagementCapability } |
#effort ⇒ Anthropic::Models::EffortCapability
Effort (reasoning_effort) support and available levels.
34 |
# File 'lib/anthropic/models/model_capabilities.rb', line 34 required :effort, -> { Anthropic::EffortCapability } |
#image_input ⇒ Anthropic::Models::CapabilitySupport
Whether the model accepts image content blocks.
40 |
# File 'lib/anthropic/models/model_capabilities.rb', line 40 required :image_input, -> { Anthropic::CapabilitySupport } |
#pdf_input ⇒ Anthropic::Models::CapabilitySupport
Whether the model accepts PDF content blocks.
46 |
# File 'lib/anthropic/models/model_capabilities.rb', line 46 required :pdf_input, -> { Anthropic::CapabilitySupport } |
#structured_outputs ⇒ Anthropic::Models::CapabilitySupport
Whether the model supports structured output / JSON mode / strict tool schemas.
52 |
# File 'lib/anthropic/models/model_capabilities.rb', line 52 required :structured_outputs, -> { Anthropic::CapabilitySupport } |
#thinking ⇒ Anthropic::Models::ThinkingCapability
Thinking capability and supported type configurations.
58 |
# File 'lib/anthropic/models/model_capabilities.rb', line 58 required :thinking, -> { Anthropic::ThinkingCapability } |