Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::AugmentPromptRequest (v0.60.0)

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

#contents=

def contents=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Content>
Parameter
Returns

#model

def model() -> ::Google::Cloud::AIPlatform::V1::AugmentPromptRequest::Model
Returns

#model=

def model=(value) -> ::Google::Cloud::AIPlatform::V1::AugmentPromptRequest::Model
Parameter
Returns

#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

#vertex_rag_store=

def vertex_rag_store=(value) -> ::Google::Cloud::AIPlatform::V1::VertexRagStore
Parameter
Returns