Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateInstancesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Request message for EvaluationService.EvaluateInstances.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluateInstancesRequest

Returns a new instance of GoogleCloudAiplatformV1EvaluateInstancesRequest.



6321
6322
6323
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6321

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#bleu_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuInput

Input for bleu metric. Corresponds to the JSON property bleuInput



6209
6210
6211
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6209

def bleu_input
  @bleu_input
end

#coherence_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1CoherenceInput

Input for coherence metric. Corresponds to the JSON property coherenceInput



6214
6215
6216
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6214

def coherence_input
  @coherence_input
end

#exact_match_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchInput

Input for exact match metric. Corresponds to the JSON property exactMatchInput



6219
6220
6221
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6219

def exact_match_input
  @exact_match_input
end

#fluency_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1FluencyInput

Input for fluency metric. Corresponds to the JSON property fluencyInput



6224
6225
6226
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6224

def fluency_input
  @fluency_input
end

#fulfillment_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1FulfillmentInput

Input for fulfillment metric. Corresponds to the JSON property fulfillmentInput



6229
6230
6231
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6229

def fulfillment_input
  @fulfillment_input
end

#groundedness_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessInput

Input for groundedness metric. Corresponds to the JSON property groundednessInput



6234
6235
6236
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6234

def groundedness_input
  @groundedness_input
end

#pairwise_metric_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInput

Input for pairwise metric. Corresponds to the JSON property pairwiseMetricInput



6239
6240
6241
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6239

def pairwise_metric_input
  @pairwise_metric_input
end

#pairwise_question_answering_quality_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput

Input for pairwise question answering quality metric. Corresponds to the JSON property pairwiseQuestionAnsweringQualityInput



6244
6245
6246
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6244

def pairwise_question_answering_quality_input
  @pairwise_question_answering_quality_input
end

#pairwise_summarization_quality_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityInput

Input for pairwise summarization quality metric. Corresponds to the JSON property pairwiseSummarizationQualityInput



6249
6250
6251
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6249

def pairwise_summarization_quality_input
  @pairwise_summarization_quality_input
end

#pointwise_metric_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInput

Input for pointwise metric. Corresponds to the JSON property pointwiseMetricInput



6254
6255
6256
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6254

def pointwise_metric_input
  @pointwise_metric_input
end

#question_answering_correctness_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput

Input for question answering correctness metric. Corresponds to the JSON property questionAnsweringCorrectnessInput



6259
6260
6261
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6259

def question_answering_correctness_input
  @question_answering_correctness_input
end

#question_answering_helpfulness_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput

Input for question answering helpfulness metric. Corresponds to the JSON property questionAnsweringHelpfulnessInput



6264
6265
6266
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6264

def question_answering_helpfulness_input
  @question_answering_helpfulness_input
end

#question_answering_quality_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringQualityInput

Input for question answering quality metric. Corresponds to the JSON property questionAnsweringQualityInput



6269
6270
6271
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6269

def question_answering_quality_input
  @question_answering_quality_input
end

#question_answering_relevance_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput

Input for question answering relevance metric. Corresponds to the JSON property questionAnsweringRelevanceInput



6274
6275
6276
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6274

def question_answering_relevance_input
  @question_answering_relevance_input
end

#rouge_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1RougeInput

Input for rouge metric. Corresponds to the JSON property rougeInput



6279
6280
6281
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6279

def rouge_input
  @rouge_input
end

#safety_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyInput

Input for safety metric. Corresponds to the JSON property safetyInput



6284
6285
6286
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6284

def safety_input
  @safety_input
end

#summarization_helpfulness_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationHelpfulnessInput

Input for summarization helpfulness metric. Corresponds to the JSON property summarizationHelpfulnessInput



6289
6290
6291
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6289

def summarization_helpfulness_input
  @summarization_helpfulness_input
end

#summarization_quality_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationQualityInput

Input for summarization quality metric. Corresponds to the JSON property summarizationQualityInput



6294
6295
6296
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6294

def summarization_quality_input
  @summarization_quality_input
end

#summarization_verbosity_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationVerbosityInput

Input for summarization verbosity metric. Corresponds to the JSON property summarizationVerbosityInput



6299
6300
6301
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6299

def summarization_verbosity_input
  @summarization_verbosity_input
end

#tool_call_valid_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCallValidInput

Input for tool call valid metric. Corresponds to the JSON property toolCallValidInput



6304
6305
6306
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6304

def tool_call_valid_input
  @tool_call_valid_input
end

#tool_name_match_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolNameMatchInput

Input for tool name match metric. Corresponds to the JSON property toolNameMatchInput



6309
6310
6311
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6309

def tool_name_match_input
  @tool_name_match_input
end

#tool_parameter_key_match_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolParameterKeyMatchInput

Input for tool parameter key match metric. Corresponds to the JSON property toolParameterKeyMatchInput



6314
6315
6316
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6314

def tool_parameter_key_match_input
  @tool_parameter_key_match_input
end

#tool_parameter_kv_match_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolParameterKvMatchInput

Input for tool parameter key value match metric. Corresponds to the JSON property toolParameterKvMatchInput



6319
6320
6321
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6319

def tool_parameter_kv_match_input
  @tool_parameter_kv_match_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6326

def update!(**args)
  @bleu_input = args[:bleu_input] if args.key?(:bleu_input)
  @coherence_input = args[:coherence_input] if args.key?(:coherence_input)
  @exact_match_input = args[:exact_match_input] if args.key?(:exact_match_input)
  @fluency_input = args[:fluency_input] if args.key?(:fluency_input)
  @fulfillment_input = args[:fulfillment_input] if args.key?(:fulfillment_input)
  @groundedness_input = args[:groundedness_input] if args.key?(:groundedness_input)
  @pairwise_metric_input = args[:pairwise_metric_input] if args.key?(:pairwise_metric_input)
  @pairwise_question_answering_quality_input = args[:pairwise_question_answering_quality_input] if args.key?(:pairwise_question_answering_quality_input)
  @pairwise_summarization_quality_input = args[:pairwise_summarization_quality_input] if args.key?(:pairwise_summarization_quality_input)
  @pointwise_metric_input = args[:pointwise_metric_input] if args.key?(:pointwise_metric_input)
  @question_answering_correctness_input = args[:question_answering_correctness_input] if args.key?(:question_answering_correctness_input)
  @question_answering_helpfulness_input = args[:question_answering_helpfulness_input] if args.key?(:question_answering_helpfulness_input)
  @question_answering_quality_input = args[:question_answering_quality_input] if args.key?(:question_answering_quality_input)
  @question_answering_relevance_input = args[:question_answering_relevance_input] if args.key?(:question_answering_relevance_input)
  @rouge_input = args[:rouge_input] if args.key?(:rouge_input)
  @safety_input = args[:safety_input] if args.key?(:safety_input)
  @summarization_helpfulness_input = args[:summarization_helpfulness_input] if args.key?(:summarization_helpfulness_input)
  @summarization_quality_input = args[:summarization_quality_input] if args.key?(:summarization_quality_input)
  @summarization_verbosity_input = args[:summarization_verbosity_input] if args.key?(:summarization_verbosity_input)
  @tool_call_valid_input = args[:tool_call_valid_input] if args.key?(:tool_call_valid_input)
  @tool_name_match_input = args[:tool_name_match_input] if args.key?(:tool_name_match_input)
  @tool_parameter_key_match_input = args[:tool_parameter_key_match_input] if args.key?(:tool_parameter_key_match_input)
  @tool_parameter_kv_match_input = args[:tool_parameter_kv_match_input] if args.key?(:tool_parameter_kv_match_input)
end