Module: OpenAI::Models::Beta::BetaResponseCustomToolCallOutput::Output

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

Overview

The output from the custom tool call generated by your code. Can be a string or an list of output content.

See Also:

  • OpenAI::Models::Beta::BetaResponseCustomToolCallOutput#output

Defined Under Namespace

Modules: OutputContentList

Constant Summary collapse

OutputContentListArray =
OpenAI::Internal::Type::ArrayOf[
  union: -> {
    OpenAI::Beta::BetaResponseCustomToolCallOutput::Output::OutputContentList
  }
]

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::Beta::BetaResponseInputText, OpenAI::Models::Beta::BetaResponseInputImage, OpenAI::Models::Beta::BetaResponseInputFile>)



# File 'lib/openai/models/beta/beta_response_custom_tool_call_output.rb', line 99