Module: OpenAI::Models::Evals::RunCreateParams::DataSource::CreateEvalResponsesRunDataSource::Source

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

Overview

Determines what populates the ‘item` namespace in this run’s data source.

See Also:

Defined Under Namespace

Classes: FileContent, FileID, Responses

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, type_info

Instance Method Details

#initialize(id: , type: :file_id) ⇒ Object

Parameters:

  • id (String) (defaults to: )

    The identifier of the file.

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

    The type of jsonl source. Always ‘file_id`.



# File 'lib/openai/models/evals/run_create_params.rb', line 177