Class: Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openlayer/models/inference_pipelines/test_result_list_response.rb

Overview

See Also:

Defined Under Namespace

Modules: Subtype, Type Classes: Threshold

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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(id: , comment_count: , creator_id: , date_archived: , date_created: , date_updated: , description: , name: , number: , origin_project_version_id: , subtype: , suggested: , thresholds: , type: , archived: nil, delay_window: nil, evaluation_window: nil, uses_ml_model: nil, uses_production_data: nil, uses_reference_dataset: nil, uses_training_dataset: nil, uses_validation_dataset: nil) ⇒ Object

Some parameter documentations has been truncated, see Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal for more details.



# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 269


Instance Attribute Details

#archivedBoolean?

Whether the test is archived.



162
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 162

optional :archived, Openlayer::Internal::Type::Boolean

#delay_windowFloat?

The delay window in seconds. Only applies to tests that use production data.



168
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 168

optional :delay_window, Float, api_name: :delayWindow, nil?: true

#descriptionObject?

The test description.



130
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 130

required :description, Openlayer::Internal::Type::Unknown, nil?: true

#evaluation_windowFloat?

The evaluation window in seconds. Only applies to tests that use production data.



175
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 175

optional :evaluation_window, Float, api_name: :evaluationWindow, nil?: true

#nameString

The test name.



136
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 136

required :name, String

#subtypeSymbol, Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Subtype

The test subtype.



142
143
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 142

required :subtype,
enum: -> { Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Subtype }

#thresholdsArray<Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Threshold>



148
149
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 148

required :thresholds,
-> { Openlayer::Internal::Type::ArrayOf[Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Threshold] }

#typeSymbol, Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Type

The test type.



155
156
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 155

required :type,
enum: -> { Openlayer::Models::InferencePipelines::TestResultListResponse::Item::Goal::Type }

#uses_ml_modelBoolean?

Whether the test uses an ML model.



181
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 181

optional :uses_ml_model, Openlayer::Internal::Type::Boolean, api_name: :usesMlModel

#uses_production_dataBoolean?

Whether the test uses production data (monitoring mode only).



187
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 187

optional :uses_production_data, Openlayer::Internal::Type::Boolean, api_name: :usesProductionData

#uses_reference_datasetBoolean?

Whether the test uses a reference dataset (monitoring mode only).



193
194
195
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 193

optional :uses_reference_dataset,
Openlayer::Internal::Type::Boolean,
api_name: :usesReferenceDataset

#uses_training_datasetBoolean?

Whether the test uses a training dataset.



201
202
203
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 201

optional :uses_training_dataset,
Openlayer::Internal::Type::Boolean,
api_name: :usesTrainingDataset

#uses_validation_datasetBoolean?

Whether the test uses a validation dataset.



209
210
211
# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 209

optional :uses_validation_dataset,
Openlayer::Internal::Type::Boolean,
api_name: :usesValidationDataset

Class Method Details

.valuesArray<Symbol>



# File 'lib/openlayer/models/inference_pipelines/test_result_list_response.rb', line 366