Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList

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

A list of reference sentence pairs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList

Returns a new instance of GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList.



25637
25638
25639
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25637

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

Instance Attribute Details

#reference_sentence_pairsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair>

Reference sentence pairs. Corresponds to the JSON property referenceSentencePairs



25635
25636
25637
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25635

def reference_sentence_pairs
  @reference_sentence_pairs
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



25642
25643
25644
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 25642

def update!(**args)
  @reference_sentence_pairs = args[:reference_sentence_pairs] if args.key?(:reference_sentence_pairs)
end