Class: Anthropic::Models::Beta::BetaCompactionCapability
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaCompactionCapability
- Defined in:
- lib/anthropic/models/beta/beta_compaction_capability.rb,
sig/anthropic/models/beta/beta_compaction_capability.rbs
Instance Attribute Summary collapse
-
#summarize ⇒ Anthropic::Models::Beta::BetaCapabilitySupport
Whether the summarize compaction type is supported.
-
#supported ⇒ Boolean
Whether this capability is supported by the model.
Instance Method Summary collapse
-
#initialize ⇒ BetaCompactionCapability
constructor
A new instance of BetaCompactionCapability.
- #to_hash ⇒ { summarize: Anthropic::Beta::BetaCapabilitySupport, supported: bool }
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 ⇒ BetaCompactionCapability
Returns a new instance of BetaCompactionCapability.
14 15 16 17 |
# File 'sig/anthropic/models/beta/beta_compaction_capability.rbs', line 14
def initialize: (
summarize: Anthropic::Beta::BetaCapabilitySupport,
supported: bool
) -> void
|
Instance Attribute Details
#summarize ⇒ Anthropic::Models::Beta::BetaCapabilitySupport
Whether the summarize compaction type is supported.
11 |
# File 'lib/anthropic/models/beta/beta_compaction_capability.rb', line 11 required :summarize, -> { Anthropic::Beta::BetaCapabilitySupport } |
Instance Method Details
#to_hash ⇒ { summarize: Anthropic::Beta::BetaCapabilitySupport, supported: bool }
19 20 21 22 |
# File 'sig/anthropic/models/beta/beta_compaction_capability.rbs', line 19
def to_hash: -> {
summarize: Anthropic::Beta::BetaCapabilitySupport,
supported: bool
}
|