Module: OpenAI::Models::Evals::CreateEvalJSONLRunDataSource::Source

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

Overview

Determines what populates the ‘item` namespace in the data source.

See Also:

Defined Under Namespace

Classes: FileContent, FileID

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

Instance Method Details

#initialize(item: , sample: nil) ⇒ Object

Parameters:

  • item (Hash{Symbol=>Object}) (defaults to: )
  • sample (Hash{Symbol=>Object}) (defaults to: nil)


# File 'lib/openai/models/evals/create_eval_jsonl_run_data_source.rb', line 71