Class: Openlayer::Models::InferencePipelineRetrieveResponse::DataBackend::BigQueryDataBackend

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

Defined Under Namespace

Modules: BackendType, PartitionType Classes: Config

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(ground_truth_column_name: nil, human_feedback_column_name: nil, latency_column_name: nil, timestamp_column_name: nil) ⇒ Object

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

Parameters:

  • ground_truth_column_name (String, nil) (defaults to: nil)

    Name of the column with the ground truths.

  • human_feedback_column_name (String, nil) (defaults to: nil)

    Name of the column with human feedback.

  • latency_column_name (String, nil) (defaults to: nil)

    Name of the column with the latencies.

  • timestamp_column_name (String, nil) (defaults to: nil)

    Name of the column with the timestamps. Timestamps must be in UNIX sec format. I



# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 257

Instance Attribute Details

#backend_typeSymbol, Openlayer::Models::InferencePipelineRetrieveResponse::DataBackend::BigQueryDataBackend::BackendType



225
226
227
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 225

required :backend_type,
enum: -> { Openlayer::Models::InferencePipelineRetrieveResponse::DataBackend::BigQueryDataBackend::BackendType },
api_name: :backendType

#bigquery_connection_idString?

Returns:

  • (String, nil)


232
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 232

required :bigquery_connection_id, String, api_name: :bigqueryConnectionId, nil?: true

#dataset_idString

Returns:

  • (String)


237
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 237

required :dataset_id, String, api_name: :datasetId

#partition_typeSymbol, ...



252
253
254
255
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 252

optional :partition_type,
enum: -> { Openlayer::Models::InferencePipelineRetrieveResponse::DataBackend::BigQueryDataBackend::PartitionType },
api_name: :partitionType,
nil?: true

#project_idString

Returns:

  • (String)


242
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 242

required :project_id, String, api_name: :projectId

#table_idString?

Returns:

  • (String, nil)


247
# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 247

required :table_id, String, api_name: :tableId, nil?: true

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openlayer/models/inference_pipeline_retrieve_response.rb', line 271