Class: Anthropic::Models::Beta::BetaModelCapabilities

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/anthropic/models/beta/beta_model_capabilities.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Internal::Type::BaseModel

#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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

This class inherits a constructor from Anthropic::Internal::Type::BaseModel

Instance Attribute Details

#batchAnthropic::Models::Beta::BetaCapabilitySupport

Whether the model supports the Batch API.

Returns:



11
# File 'lib/anthropic/models/beta/beta_model_capabilities.rb', line 11

required :batch, -> { Anthropic::Beta::BetaCapabilitySupport }

#citationsAnthropic::Models::Beta::BetaCapabilitySupport

Whether the model supports citation generation.

Returns:



17
# File 'lib/anthropic/models/beta/beta_model_capabilities.rb', line 17

required :citations, -> { Anthropic::Beta::BetaCapabilitySupport }

#code_executionAnthropic::Models::Beta::BetaCapabilitySupport

Whether the model supports code execution tools.

Returns:



23
# File 'lib/anthropic/models/beta/beta_model_capabilities.rb', line 23

required :code_execution, -> { Anthropic::Beta::BetaCapabilitySupport }

#context_managementAnthropic::Models::Beta::BetaContextManagementCapability

Context management support and available strategies.

Returns:



29
# File 'lib/anthropic/models/beta/beta_model_capabilities.rb', line 29

required :context_management, -> { Anthropic::Beta::BetaContextManagementCapability }

#effortAnthropic::Models::Beta::BetaEffortCapability

Effort (reasoning_effort) support and available levels.

Returns:



35
# File 'lib/anthropic/models/beta/beta_model_capabilities.rb', line 35

required :effort, -> { Anthropic::Beta::BetaEffortCapability }

#image_inputAnthropic::Models::Beta::BetaCapabilitySupport

Whether the model accepts image content blocks.

Returns:



41
# File 'lib/anthropic/models/beta/beta_model_capabilities.rb', line 41

required :image_input, -> { Anthropic::Beta::BetaCapabilitySupport }

#pdf_inputAnthropic::Models::Beta::BetaCapabilitySupport

Whether the model accepts PDF content blocks.

Returns:



47
# File 'lib/anthropic/models/beta/beta_model_capabilities.rb', line 47

required :pdf_input, -> { Anthropic::Beta::BetaCapabilitySupport }

#structured_outputsAnthropic::Models::Beta::BetaCapabilitySupport

Whether the model supports structured output / JSON mode / strict tool schemas.

Returns:



53
# File 'lib/anthropic/models/beta/beta_model_capabilities.rb', line 53

required :structured_outputs, -> { Anthropic::Beta::BetaCapabilitySupport }

#thinkingAnthropic::Models::Beta::BetaThinkingCapability

Thinking capability and supported type configurations.

Returns:



59
# File 'lib/anthropic/models/beta/beta_model_capabilities.rb', line 59

required :thinking, -> { Anthropic::Beta::BetaThinkingCapability }