Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::AugmentPromptRequest.
Request message for AugmentPrompt.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#contents
def contents() -> ::Array<::Google::Cloud::AIPlatform::V1::Content>
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Content>) — Optional. Input content to augment, only text format is supported for now.
#contents=
def contents=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Content>
Parameter
- value (::Array<::Google::Cloud::AIPlatform::V1::Content>) — Optional. Input content to augment, only text format is supported for now.
Returns
- (::Array<::Google::Cloud::AIPlatform::V1::Content>) — Optional. Input content to augment, only text format is supported for now.
#model
def model() -> ::Google::Cloud::AIPlatform::V1::AugmentPromptRequest::Model
Returns
- (::Google::Cloud::AIPlatform::V1::AugmentPromptRequest::Model) — Optional. Metadata of the backend deployed model.
#model=
def model=(value) -> ::Google::Cloud::AIPlatform::V1::AugmentPromptRequest::Model
Parameter
- value (::Google::Cloud::AIPlatform::V1::AugmentPromptRequest::Model) — Optional. Metadata of the backend deployed model.
Returns
- (::Google::Cloud::AIPlatform::V1::AugmentPromptRequest::Model) — Optional. Metadata of the backend deployed model.
#parent
def parent() -> ::String
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}
.
#parent=
def parent=(value) -> ::String
Parameter
-
value (::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}
.
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}
.
#vertex_rag_store
def vertex_rag_store() -> ::Google::Cloud::AIPlatform::V1::VertexRagStore
Returns
- (::Google::Cloud::AIPlatform::V1::VertexRagStore) — Optional. Retrieves contexts from the Vertex RagStore.
#vertex_rag_store=
def vertex_rag_store=(value) -> ::Google::Cloud::AIPlatform::V1::VertexRagStore
Parameter
- value (::Google::Cloud::AIPlatform::V1::VertexRagStore) — Optional. Retrieves contexts from the Vertex RagStore.
Returns
- (::Google::Cloud::AIPlatform::V1::VertexRagStore) — Optional. Retrieves contexts from the Vertex RagStore.