Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AugmentPromptRequestModel
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AugmentPromptRequestModel
- 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
Metadata of the backend deployed model.
Instance Attribute Summary collapse
-
#model ⇒ String
Optional.
-
#model_version ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1AugmentPromptRequestModel
constructor
A new instance of GoogleCloudAiplatformV1AugmentPromptRequestModel.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1AugmentPromptRequestModel
Returns a new instance of GoogleCloudAiplatformV1AugmentPromptRequestModel.
2085 2086 2087 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2085 def initialize(**args) update!(**args) end |
Instance Attribute Details
#model ⇒ String
Optional. The model that the user will send the augmented prompt for content
generation.
Corresponds to the JSON property model
2078 2079 2080 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2078 def model @model end |
#model_version ⇒ String
Optional. The model version of the backend deployed model.
Corresponds to the JSON property modelVersion
2083 2084 2085 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2083 def model_version @model_version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2090 2091 2092 2093 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2090 def update!(**args) @model = args[:model] if args.key?(:model) @model_version = args[:model_version] if args.key?(:model_version) end |