Module: OpenAI::Models::DecisionCreateParams::Input::UnionMember1

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

Overview

A user message containing input text, images, or JSON.

Defined Under Namespace

Classes: CustomToolCall, CustomToolCallOutput, DecisionInputAssistantMessage, DecisionInputDeveloperMessage, DecisionInputSystemMessage, DecisionInputUserMessage, FunctionCall, FunctionCallOutput

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

.values ⇒ Array<Symbol>

Returns:

  • (Array<Symbol>)


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

.variants ⇒ ::Array[OpenAI::Models::DecisionCreateParams::Input::union_member1]

Returns:

  • (::Array[OpenAI::Models::DecisionCreateParams::Input::union_member1])


716
# File 'sig/openai/models/decision_create_params.rbs', line 716

def self?.variants: -> ::Array[OpenAI::Models::DecisionCreateParams::Input::union_member1]