Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList
- 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
-
#reference_sentence_pairs ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePair>
Reference sentence pairs.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList
constructor
A new instance of GoogleCloudAiplatformV1SchemaPromptSpecReferenceSentencePairList.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_pairs ⇒ Array<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 |