Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AugmentPromptRequest
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AugmentPromptRequest
- 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
Request message for AugmentPrompt.
Instance Attribute Summary collapse
-
#contents ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>
Optional.
-
#model ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AugmentPromptRequestModel
Metadata of the backend deployed model.
-
#vertex_rag_store ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexRagStore
Retrieve from Vertex RAG Store for grounding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1AugmentPromptRequest
constructor
A new instance of GoogleCloudAiplatformV1AugmentPromptRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1AugmentPromptRequest
Returns a new instance of GoogleCloudAiplatformV1AugmentPromptRequest.
2058 2059 2060 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2058 def initialize(**args) update!(**args) end |
Instance Attribute Details
#contents ⇒ Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content>
Optional. Input content to augment, only text format is supported for now.
Corresponds to the JSON property contents
2046 2047 2048 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2046 def contents @contents end |
#model ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AugmentPromptRequestModel
Metadata of the backend deployed model.
Corresponds to the JSON property model
2051 2052 2053 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2051 def model @model end |
#vertex_rag_store ⇒ Google::Apis::AiplatformV1::GoogleCloudAiplatformV1VertexRagStore
Retrieve from Vertex RAG Store for grounding.
Corresponds to the JSON property vertexRagStore
2056 2057 2058 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2056 def vertex_rag_store @vertex_rag_store end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2063 2064 2065 2066 2067 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 2063 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 |