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.



6126
6127
6128
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6126

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

Instance Attribute Details

#bleu_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuInput

Input for bleu metric. Corresponds to the JSON property bleuInput



6014
6015
6016
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6014

def bleu_input
  @bleu_input
end

#coherence_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1CoherenceInput

Input for coherence metric. Corresponds to the JSON property coherenceInput



6019
6020
6021
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6019

def coherence_input
  @coherence_input
end

#exact_match_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchInput

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



6024
6025
6026
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6024

def exact_match_input
  @exact_match_input
end

#fluency_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1FluencyInput

Input for fluency metric. Corresponds to the JSON property fluencyInput



6029
6030
6031
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6029

def fluency_input
  @fluency_input
end

#fulfillment_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1FulfillmentInput

Input for fulfillment metric. Corresponds to the JSON property fulfillmentInput



6034
6035
6036
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6034

def fulfillment_input
  @fulfillment_input
end

#groundedness_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessInput

Input for groundedness metric. Corresponds to the JSON property groundednessInput



6039
6040
6041
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6039

def groundedness_input
  @groundedness_input
end

#pairwise_metric_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseMetricInput

Input for pairwise metric. Corresponds to the JSON property pairwiseMetricInput



6044
6045
6046
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6044

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



6049
6050
6051
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6049

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



6054
6055
6056
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6054

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



6059
6060
6061
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6059

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



6064
6065
6066
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6064

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



6069
6070
6071
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6069

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



6074
6075
6076
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6074

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



6079
6080
6081
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6079

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



6084
6085
6086
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6084

def rouge_input
  @rouge_input
end

#safety_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyInput

Input for safety metric. Corresponds to the JSON property safetyInput



6089
6090
6091
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6089

def safety_input
  @safety_input
end

#summarization_helpfulness_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationHelpfulnessInput

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



6094
6095
6096
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6094

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



6099
6100
6101
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6099

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



6104
6105
6106
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6104

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



6109
6110
6111
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6109

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



6114
6115
6116
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6114

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



6119
6120
6121
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6119

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



6124
6125
6126
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6124

def tool_parameter_kv_match_input
  @tool_parameter_kv_match_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6131

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