Module: OpenAI::Models::DecisionCreateParams::Input::UnionMember1::DecisionInputUserMessage::Content

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/decision_create_params.rb,
sig/openai/models/decision_create_params.rbs

Overview

A text string or an ordered list of text, image, and JSON parts.

See Also:

  • OpenAI::Models::DecisionCreateParams::Input::UnionMember1::DecisionInputUserMessage#content

Constant Summary collapse

DecisionInputPartArray =
OpenAI::Internal::Type::ArrayOf[union: -> { OpenAI::DecisionInputPart }]

Class Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variant_for_dump

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Methods included from Internal::Type::Converter

#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info

Class Method Details

.variants ⇒ Array(String, Array<OpenAI::Models::DecisionInputText, OpenAI::Models::DecisionInputImage, OpenAI::Models::DecisionInputJSON>)



# File 'lib/openai/models/decision_create_params.rb', line 180