Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecInteractionData
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1SchemaPromptSpecInteractionData
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Defines data for an interaction prompt.
Instance Attribute Summary collapse
-
#interaction_ids ⇒ Array<String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaPromptSpecInteractionData
constructor
A new instance of GoogleCloudAiplatformV1beta1SchemaPromptSpecInteractionData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1SchemaPromptSpecInteractionData
Returns a new instance of GoogleCloudAiplatformV1beta1SchemaPromptSpecInteractionData.
55860 55861 55862 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55860 def initialize(**args) update!(**args) end |
Instance Attribute Details
#interaction_ids ⇒ Array<String>
Optional. Lists interaction IDs associated with the prompt. This maps 1:1 to
PromptMessage.contents. If InteractionData is present, every prompt message
has an interaction ID.
Corresponds to the JSON property interactionIds
55858 55859 55860 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55858 def interaction_ids @interaction_ids end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
55865 55866 55867 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 55865 def update!(**args) @interaction_ids = args[:interaction_ids] if args.key?(:interaction_ids) end |