Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateInstancesRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateInstancesRequest
- 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
-
#autorater_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AutoraterConfig
The configs for autorater.
-
#bleu_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuInput
Input for bleu metric.
-
#coherence_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CoherenceInput
Input for coherence metric.
-
#comet_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CometInput
Input for Comet metric.
-
#exact_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchInput
Input for exact match metric.
-
#fluency_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FluencyInput
Input for fluency metric.
-
#fulfillment_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FulfillmentInput
Input for fulfillment metric.
-
#groundedness_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessInput
Input for groundedness metric.
-
#metricx_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MetricxInput
Input for MetricX metric.
-
#pairwise_metric_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInput
Input for pairwise metric.
-
#pairwise_question_answering_quality_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput
Input for pairwise question answering quality metric.
-
#pairwise_summarization_quality_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityInput
Input for pairwise summarization quality metric.
-
#pointwise_metric_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInput
Input for pointwise metric.
-
#question_answering_correctness_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput
Input for question answering correctness metric.
-
#question_answering_helpfulness_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput
Input for question answering helpfulness metric.
-
#question_answering_quality_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringQualityInput
Input for question answering quality metric.
-
#question_answering_relevance_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput
Input for question answering relevance metric.
-
#rouge_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RougeInput
Input for rouge metric.
-
#rubric_based_instruction_following_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput
Instance and metric spec for RubricBasedInstructionFollowing metric.
-
#safety_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyInput
Input for safety metric.
-
#summarization_helpfulness_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationHelpfulnessInput
Input for summarization helpfulness metric.
-
#summarization_quality_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationQualityInput
Input for summarization quality metric.
-
#summarization_verbosity_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationVerbosityInput
Input for summarization verbosity metric.
-
#tool_call_valid_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCallValidInput
Input for tool call valid metric.
-
#tool_name_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolNameMatchInput
Input for tool name match metric.
-
#tool_parameter_key_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolParameterKeyMatchInput
Input for tool parameter key match metric.
-
#tool_parameter_kv_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolParameterKvMatchInput
Input for tool parameter key value match metric.
-
#trajectory_any_order_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput
Instances and metric spec for TrajectoryAnyOrderMatch metric.
-
#trajectory_exact_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryExactMatchInput
Instances and metric spec for TrajectoryExactMatch metric.
-
#trajectory_in_order_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryInOrderMatchInput
Instances and metric spec for TrajectoryInOrderMatch metric.
-
#trajectory_precision_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryPrecisionInput
Instances and metric spec for TrajectoryPrecision metric.
-
#trajectory_recall_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryRecallInput
Instances and metric spec for TrajectoryRecall metric.
-
#trajectory_single_tool_use_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectorySingleToolUseInput
Instances and metric spec for TrajectorySingleToolUse metric.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluateInstancesRequest
constructor
A new instance of GoogleCloudAiplatformV1EvaluateInstancesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluateInstancesRequest
Returns a new instance of GoogleCloudAiplatformV1EvaluateInstancesRequest.
7515 7516 7517 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7515 def initialize(**args) update!(**args) end |
Instance Attribute Details
#autorater_config ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AutoraterConfig
The configs for autorater. This is applicable to both EvaluateInstances and
EvaluateDataset.
Corresponds to the JSON property autoraterConfig
7353 7354 7355 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7353 def autorater_config @autorater_config end |
#bleu_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuInput
Input for bleu metric.
Corresponds to the JSON property bleuInput
7358 7359 7360 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7358 def bleu_input @bleu_input end |
#coherence_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CoherenceInput
Input for coherence metric.
Corresponds to the JSON property coherenceInput
7363 7364 7365 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7363 def coherence_input @coherence_input end |
#comet_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CometInput
Input for Comet metric.
Corresponds to the JSON property cometInput
7368 7369 7370 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7368 def comet_input @comet_input end |
#exact_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchInput
Input for exact match metric.
Corresponds to the JSON property exactMatchInput
7373 7374 7375 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7373 def exact_match_input @exact_match_input end |
#fluency_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FluencyInput
Input for fluency metric.
Corresponds to the JSON property fluencyInput
7378 7379 7380 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7378 def fluency_input @fluency_input end |
#fulfillment_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FulfillmentInput
Input for fulfillment metric.
Corresponds to the JSON property fulfillmentInput
7383 7384 7385 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7383 def fulfillment_input @fulfillment_input end |
#groundedness_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessInput
Input for groundedness metric.
Corresponds to the JSON property groundednessInput
7388 7389 7390 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7388 def groundedness_input @groundedness_input end |
#metricx_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1MetricxInput
Input for MetricX metric.
Corresponds to the JSON property metricxInput
7393 7394 7395 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7393 def metricx_input @metricx_input end |
#pairwise_metric_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInput
Input for pairwise metric.
Corresponds to the JSON property pairwiseMetricInput
7398 7399 7400 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7398 def pairwise_metric_input @pairwise_metric_input end |
#pairwise_question_answering_quality_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput
Input for pairwise question answering quality metric.
Corresponds to the JSON property pairwiseQuestionAnsweringQualityInput
7403 7404 7405 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7403 def pairwise_question_answering_quality_input @pairwise_question_answering_quality_input end |
#pairwise_summarization_quality_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseSummarizationQualityInput
Input for pairwise summarization quality metric.
Corresponds to the JSON property pairwiseSummarizationQualityInput
7408 7409 7410 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7408 def pairwise_summarization_quality_input @pairwise_summarization_quality_input end |
#pointwise_metric_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PointwiseMetricInput
Input for pointwise metric.
Corresponds to the JSON property pointwiseMetricInput
7413 7414 7415 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7413 def pointwise_metric_input @pointwise_metric_input end |
#question_answering_correctness_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput
Input for question answering correctness metric.
Corresponds to the JSON property questionAnsweringCorrectnessInput
7418 7419 7420 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7418 def question_answering_correctness_input @question_answering_correctness_input end |
#question_answering_helpfulness_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringHelpfulnessInput
Input for question answering helpfulness metric.
Corresponds to the JSON property questionAnsweringHelpfulnessInput
7423 7424 7425 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7423 def question_answering_helpfulness_input @question_answering_helpfulness_input end |
#question_answering_quality_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringQualityInput
Input for question answering quality metric.
Corresponds to the JSON property questionAnsweringQualityInput
7428 7429 7430 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7428 def question_answering_quality_input @question_answering_quality_input end |
#question_answering_relevance_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringRelevanceInput
Input for question answering relevance metric.
Corresponds to the JSON property questionAnsweringRelevanceInput
7433 7434 7435 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7433 def question_answering_relevance_input @question_answering_relevance_input end |
#rouge_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RougeInput
Input for rouge metric.
Corresponds to the JSON property rougeInput
7438 7439 7440 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7438 def rouge_input @rouge_input end |
#rubric_based_instruction_following_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RubricBasedInstructionFollowingInput
Instance and metric spec for RubricBasedInstructionFollowing metric.
Corresponds to the JSON property rubricBasedInstructionFollowingInput
7443 7444 7445 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7443 def rubric_based_instruction_following_input @rubric_based_instruction_following_input end |
#safety_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyInput
Input for safety metric.
Corresponds to the JSON property safetyInput
7448 7449 7450 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7448 def safety_input @safety_input end |
#summarization_helpfulness_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationHelpfulnessInput
Input for summarization helpfulness metric.
Corresponds to the JSON property summarizationHelpfulnessInput
7453 7454 7455 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7453 def summarization_helpfulness_input @summarization_helpfulness_input end |
#summarization_quality_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationQualityInput
Input for summarization quality metric.
Corresponds to the JSON property summarizationQualityInput
7458 7459 7460 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7458 def summarization_quality_input @summarization_quality_input end |
#summarization_verbosity_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationVerbosityInput
Input for summarization verbosity metric.
Corresponds to the JSON property summarizationVerbosityInput
7463 7464 7465 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7463 def summarization_verbosity_input @summarization_verbosity_input end |
#tool_call_valid_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolCallValidInput
Input for tool call valid metric.
Corresponds to the JSON property toolCallValidInput
7468 7469 7470 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7468 def tool_call_valid_input @tool_call_valid_input end |
#tool_name_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolNameMatchInput
Input for tool name match metric.
Corresponds to the JSON property toolNameMatchInput
7473 7474 7475 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7473 def tool_name_match_input @tool_name_match_input end |
#tool_parameter_key_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolParameterKeyMatchInput
Input for tool parameter key match metric.
Corresponds to the JSON property toolParameterKeyMatchInput
7478 7479 7480 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7478 def tool_parameter_key_match_input @tool_parameter_key_match_input end |
#tool_parameter_kv_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ToolParameterKvMatchInput
Input for tool parameter key value match metric.
Corresponds to the JSON property toolParameterKvMatchInput
7483 7484 7485 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7483 def tool_parameter_kv_match_input @tool_parameter_kv_match_input end |
#trajectory_any_order_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryAnyOrderMatchInput
Instances and metric spec for TrajectoryAnyOrderMatch metric.
Corresponds to the JSON property trajectoryAnyOrderMatchInput
7488 7489 7490 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7488 def trajectory_any_order_match_input @trajectory_any_order_match_input end |
#trajectory_exact_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryExactMatchInput
Instances and metric spec for TrajectoryExactMatch metric.
Corresponds to the JSON property trajectoryExactMatchInput
7493 7494 7495 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7493 def trajectory_exact_match_input @trajectory_exact_match_input end |
#trajectory_in_order_match_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryInOrderMatchInput
Instances and metric spec for TrajectoryInOrderMatch metric.
Corresponds to the JSON property trajectoryInOrderMatchInput
7498 7499 7500 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7498 def trajectory_in_order_match_input @trajectory_in_order_match_input end |
#trajectory_precision_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryPrecisionInput
Instances and metric spec for TrajectoryPrecision metric.
Corresponds to the JSON property trajectoryPrecisionInput
7503 7504 7505 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7503 def trajectory_precision_input @trajectory_precision_input end |
#trajectory_recall_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectoryRecallInput
Instances and metric spec for TrajectoryRecall metric.
Corresponds to the JSON property trajectoryRecallInput
7508 7509 7510 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7508 def trajectory_recall_input @trajectory_recall_input end |
#trajectory_single_tool_use_input ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TrajectorySingleToolUseInput
Instances and metric spec for TrajectorySingleToolUse metric.
Corresponds to the JSON property trajectorySingleToolUseInput
7513 7514 7515 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7513 def trajectory_single_tool_use_input @trajectory_single_tool_use_input end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 7520 def update!(**args) @autorater_config = args[:autorater_config] if args.key?(:autorater_config) @bleu_input = args[:bleu_input] if args.key?(:bleu_input) @coherence_input = args[:coherence_input] if args.key?(:coherence_input) @comet_input = args[:comet_input] if args.key?(:comet_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) @metricx_input = args[:metricx_input] if args.key?(:metricx_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) @rubric_based_instruction_following_input = args[:rubric_based_instruction_following_input] if args.key?(:rubric_based_instruction_following_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) @trajectory_any_order_match_input = args[:trajectory_any_order_match_input] if args.key?(:trajectory_any_order_match_input) @trajectory_exact_match_input = args[:trajectory_exact_match_input] if args.key?(:trajectory_exact_match_input) @trajectory_in_order_match_input = args[:trajectory_in_order_match_input] if args.key?(:trajectory_in_order_match_input) @trajectory_precision_input = args[:trajectory_precision_input] if args.key?(:trajectory_precision_input) @trajectory_recall_input = args[:trajectory_recall_input] if args.key?(:trajectory_recall_input) @trajectory_single_tool_use_input = args[:trajectory_single_tool_use_input] if args.key?(:trajectory_single_tool_use_input) end |