Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore::RagResource (v0.60.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::RetrieveContextsRequest::VertexRagStore::RagResource.

The definition of the Rag resource.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#rag_corpus

def rag_corpus() -> ::String
Returns
  • (::String) — Optional. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

#rag_corpus=

def rag_corpus=(value) -> ::String
Parameter
  • value (::String) — Optional. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}
Returns
  • (::String) — Optional. RagCorpora resource name. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

#rag_file_ids

def rag_file_ids() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.

#rag_file_ids=

def rag_file_ids=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.
Returns
  • (::Array<::String>) — Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field.