Class: Anthropic::Models::Beta::BetaSystemMessageOutputConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaSystemMessageOutputConfig
- Defined in:
- lib/anthropic/models/beta/beta_system_message_output_config.rb,
sig/anthropic/models/beta/beta_system_message_output_config.rbs
Defined Under Namespace
Modules: Effort
Instance Attribute Summary collapse
-
#effort ⇒ Symbol, ...
All possible effort levels.
Instance Method Summary collapse
-
#initialize(effort: nil) ⇒ Object
constructor
Per-message output configuration on a role:"system" input message.
- #to_hash ⇒ {
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(effort: nil) ⇒ Object
Per-message output configuration on a role:"system" input message.
Fields here apply per-turn; format remains top-level only. An empty {} is
accepted on a message that carries content; a message with neither content nor
output_config fields is rejected.
|
|
# File 'lib/anthropic/models/beta/beta_system_message_output_config.rb', line 13
|
Instance Attribute Details
#effort ⇒ Symbol, ...
All possible effort levels.
11 |
# File 'lib/anthropic/models/beta/beta_system_message_output_config.rb', line 11 optional :effort, enum: -> { Anthropic::Beta::BetaSystemMessageOutputConfig::Effort }, nil?: true |
Instance Method Details
#to_hash ⇒ {
18 |
# File 'sig/anthropic/models/beta/beta_system_message_output_config.rbs', line 18
def to_hash: -> {
|