Class: Openlayer::Models::TestEvaluateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/openlayer/models/test_evaluate_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(test_id:, end_timestamp:, start_timestamp:, inference_pipeline_id: nil, overwrite_results: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Openlayer::Models::TestEvaluateParams for more details.

Parameters:

  • test_id (String)
  • end_timestamp (Integer)

    End timestamp in seconds (Unix epoch)

  • start_timestamp (Integer)

    Start timestamp in seconds (Unix epoch)

  • inference_pipeline_id (String) (defaults to: nil)

    ID of the inference pipeline to evaluate. If not provided, all inference pipelin

  • overwrite_results (Boolean) (defaults to: nil)

    Whether to overwrite existing test results

  • request_options (Openlayer::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/openlayer/models/test_evaluate_params.rb', line 40

Instance Attribute Details

#end_timestampInteger

End timestamp in seconds (Unix epoch)

Returns:

  • (Integer)


19
# File 'lib/openlayer/models/test_evaluate_params.rb', line 19

required :end_timestamp, Integer, api_name: :endTimestamp

#inference_pipeline_idString?

ID of the inference pipeline to evaluate. If not provided, all inference pipelines the test applies to will be evaluated.

Returns:

  • (String, nil)


32
# File 'lib/openlayer/models/test_evaluate_params.rb', line 32

optional :inference_pipeline_id, String, api_name: :inferencePipelineId

#overwrite_resultsBoolean?

Whether to overwrite existing test results

Returns:

  • (Boolean, nil)


38
# File 'lib/openlayer/models/test_evaluate_params.rb', line 38

optional :overwrite_results, Openlayer::Internal::Type::Boolean, api_name: :overwriteResults

#start_timestampInteger

Start timestamp in seconds (Unix epoch)

Returns:

  • (Integer)


25
# File 'lib/openlayer/models/test_evaluate_params.rb', line 25

required :start_timestamp, Integer, api_name: :startTimestamp

#test_idString

Returns:

  • (String)


13
# File 'lib/openlayer/models/test_evaluate_params.rb', line 13

required :test_id, String