Class: Anthropic::Models::OutputConfig
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::OutputConfig
- Defined in:
- lib/anthropic/models/output_config.rb
Instance Attribute Summary collapse
-
#format_ ⇒ Anthropic::Models::JSONOutputFormat?
A schema to specify Claude’s output format in responses.
Instance Method Summary collapse
-
#initialize(format_: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see OutputConfig for more details.
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(format_: nil) ⇒ Object
Some parameter documentations has been truncated, see Anthropic::Models::OutputConfig for more details.
|
|
# File 'lib/anthropic/models/output_config.rb', line 13
|
Instance Attribute Details
#format_ ⇒ Anthropic::Models::JSONOutputFormat?
A schema to specify Claude’s output format in responses. See [structured outputs](platform.claude.com/docs/en/build-with-claude/structured-outputs)
11 |
# File 'lib/anthropic/models/output_config.rb', line 11 optional :format_, -> { Anthropic::JSONOutputFormat }, api_name: :format, nil?: true |