Class: Google::Cloud::AIPlatform::V1::AugmentPromptRequest

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#contents::Array<::Google::Cloud::AIPlatform::V1::Content>

Returns Optional. Input content to augment, only text format is supported for now.

Returns:



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.

Returns:



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}.

Returns:

  • (::String)

    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.

Returns:



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