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.



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

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

Instance Attribute Details

#bleu_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1BleuInput

Input for bleu metric. Corresponds to the JSON property bleuInput



5972
5973
5974
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5972

def bleu_input
  @bleu_input
end

#coherence_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1CoherenceInput

Input for coherence metric. Corresponds to the JSON property coherenceInput



5977
5978
5979
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5977

def coherence_input
  @coherence_input
end

#exact_match_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1ExactMatchInput

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



5982
5983
5984
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5982

def exact_match_input
  @exact_match_input
end

#fluency_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1FluencyInput

Input for fluency metric. Corresponds to the JSON property fluencyInput



5987
5988
5989
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5987

def fluency_input
  @fluency_input
end

#fulfillment_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1FulfillmentInput

Input for fulfillment metric. Corresponds to the JSON property fulfillmentInput



5992
5993
5994
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5992

def fulfillment_input
  @fulfillment_input
end

#groundedness_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1GroundednessInput

Input for groundedness metric. Corresponds to the JSON property groundednessInput



5997
5998
5999
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 5997

def groundedness_input
  @groundedness_input
end

#pairwise_question_answering_quality_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1PairwiseQuestionAnsweringQualityInput

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



6002
6003
6004
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6002

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



6007
6008
6009
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6007

def pairwise_summarization_quality_input
  @pairwise_summarization_quality_input
end

#question_answering_correctness_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1QuestionAnsweringCorrectnessInput

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



6012
6013
6014
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6012

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



6017
6018
6019
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6017

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



6022
6023
6024
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6022

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



6027
6028
6029
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6027

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



6032
6033
6034
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6032

def rouge_input
  @rouge_input
end

#safety_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetyInput

Input for safety metric. Corresponds to the JSON property safetyInput



6037
6038
6039
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6037

def safety_input
  @safety_input
end

#summarization_helpfulness_inputGoogle::Apis::AiplatformV1::GoogleCloudAiplatformV1SummarizationHelpfulnessInput

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



6042
6043
6044
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6042

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



6047
6048
6049
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6047

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



6052
6053
6054
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6052

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



6057
6058
6059
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6057

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



6062
6063
6064
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6062

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



6067
6068
6069
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6067

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



6072
6073
6074
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6072

def tool_parameter_kv_match_input
  @tool_parameter_kv_match_input
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 6079

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_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)
  @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