Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AugmentPromptRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AugmentPromptRequest
- 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
Request message for AugmentPrompt.
Instance Attribute Summary collapse
-
#contents ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>
Optional.
-
#model ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AugmentPromptRequestModel
Metadata of the backend deployed model.
-
#vertex_rag_store ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexRagStore
Retrieve from Vertex RAG Store for grounding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AugmentPromptRequest
constructor
A new instance of GoogleCloudAiplatformV1beta1AugmentPromptRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AugmentPromptRequest
Returns a new instance of GoogleCloudAiplatformV1beta1AugmentPromptRequest.
1197 1198 1199 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1197 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contents ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Content>
Optional. Input content to augment, only text format is supported for now.
Corresponds to the JSON property contents
1185 1186 1187 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1185 def contents @contents end |
#model ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AugmentPromptRequestModel
Metadata of the backend deployed model.
Corresponds to the JSON property model
1190 1191 1192 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1190 def model @model end |
#vertex_rag_store ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1VertexRagStore
Retrieve from Vertex RAG Store for grounding.
Corresponds to the JSON property vertexRagStore
1195 1196 1197 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1195 def vertex_rag_store @vertex_rag_store end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1202 1203 1204 1205 1206 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1202 def update!(**args) @contents = args[:contents] if args.key?(:contents) @model = args[:model] if args.key?(:model) @vertex_rag_store = args[:vertex_rag_store] if args.key?(:vertex_rag_store) end |