Class: Google::Cloud::AIPlatform::V1::AugmentPromptRequest
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::AugmentPromptRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb
Overview
Request message for AugmentPrompt.
Defined Under Namespace
Classes: Model
Instance Attribute Summary collapse
-
#contents ⇒ ::Array<::Google::Cloud::AIPlatform::V1::Content>
Optional.
-
#model ⇒ ::Google::Cloud::AIPlatform::V1::AugmentPromptRequest::Model
Optional.
-
#parent ⇒ ::String
Required.
-
#vertex_rag_store ⇒ ::Google::Cloud::AIPlatform::V1::VertexRagStore
Optional.
Instance Attribute Details
#contents ⇒ ::Array<::Google::Cloud::AIPlatform::V1::Content>
Returns Optional. Input content to augment, only text format is supported for now.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb', line 152 class AugmentPromptRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata of the backend deployed model. # @!attribute [rw] model # @return [::String] # Optional. The model that the user will send the augmented prompt for # content generation. # @!attribute [rw] model_version # @return [::String] # Optional. The model version of the backend deployed model. class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#model ⇒ ::Google::Cloud::AIPlatform::V1::AugmentPromptRequest::Model
Returns Optional. Metadata of the backend deployed model.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb', line 152 class AugmentPromptRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata of the backend deployed model. # @!attribute [rw] model # @return [::String] # Optional. The model that the user will send the augmented prompt for # content generation. # @!attribute [rw] model_version # @return [::String] # Optional. The model version of the backend deployed model. class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#parent ⇒ ::String
Returns Required. The resource name of the Location from which to augment prompt.
The users must have permission to make a call in the project.
Format:
projects/{project}/locations/{location}.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb', line 152 class AugmentPromptRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata of the backend deployed model. # @!attribute [rw] model # @return [::String] # Optional. The model that the user will send the augmented prompt for # content generation. # @!attribute [rw] model_version # @return [::String] # Optional. The model version of the backend deployed model. class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#vertex_rag_store ⇒ ::Google::Cloud::AIPlatform::V1::VertexRagStore
Returns Optional. Retrieves contexts from the Vertex RagStore.
152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 |
# File 'proto_docs/google/cloud/aiplatform/v1/vertex_rag_service.rb', line 152 class AugmentPromptRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Metadata of the backend deployed model. # @!attribute [rw] model # @return [::String] # Optional. The model that the user will send the augmented prompt for # content generation. # @!attribute [rw] model_version # @return [::String] # Optional. The model version of the backend deployed model. class Model include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |