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.
27541 27542 27543 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27541 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
27539 27540 27541 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27539 def reference_sentence_pairs @reference_sentence_pairs end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
27546 27547 27548 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 27546 def update!(**args) @reference_sentence_pairs = args[:reference_sentence_pairs] if args.key?(:reference_sentence_pairs) end |