Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AugmentPromptRequestModel

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

Metadata of the backend deployed model.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1AugmentPromptRequestModel

Returns a new instance of GoogleCloudAiplatformV1AugmentPromptRequestModel.



1613
1614
1615
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1613

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

Instance Attribute Details

#modelString

Optional. The model that the user will send the augmented prompt for content generation. Corresponds to the JSON property model

Returns:

  • (String)


1606
1607
1608
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1606

def model
  @model
end

#model_versionString

Optional. The model version of the backend deployed model. Corresponds to the JSON property modelVersion

Returns:

  • (String)


1611
1612
1613
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1611

def model_version
  @model_version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1618
1619
1620
1621
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1618

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