Module: OpenAI::Models::Evals::RunCreateResponse::DataSource::Responses::InputMessages::Template::Template::EvalItem::Content

Extended by:
Internal::Type::Union
Defined in:
lib/openai/models/evals/run_create_response.rb

Overview

Inputs to the model - can contain template strings.

See Also:

Defined Under Namespace

Classes: InputImage, OutputText

Constant Summary collapse

AnArrayOfInputTextInputImageAndInputAudioArray =
OpenAI::Internal::Type::ArrayOf[OpenAI::Internal::Type::Unknown]

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Internal::Type::Union

==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants

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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Instance Method Details

#initialize(image_url: , detail: nil, type: :input_image) ⇒ Object

Some parameter documentations has been truncated, see InputImage for more details.

An image input to the model.

Parameters:

  • image_url (String) (defaults to: )

    The URL of the image input.

  • detail (String) (defaults to: nil)

    The detail level of the image to be sent to the model. One of ‘high`, `low`, or

  • type (Symbol, :input_image) (defaults to: :input_image)

    The type of the image input. Always ‘input_image`.



# File 'lib/openai/models/evals/run_create_response.rb', line 541