Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::VertexRagService::Paths (v0.61.0)

Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::VertexRagService::Paths.

Path helper methods for the VertexRagService API.

Methods

#location_path

def location_path(project:, location:) -> ::String

Create a fully-qualified Location resource string.

The resource will be in the following format:

projects/{project}/locations/{location}

Parameters
  • project (String)
  • location (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)

#rag_corpus_path

def rag_corpus_path(project:, location:, rag_corpus:) -> ::String

Create a fully-qualified RagCorpus resource string.

The resource will be in the following format:

projects/{project}/locations/{location}/ragCorpora/{rag_corpus}

Parameters
  • project (String)
  • location (String)
  • rag_corpus (String)
Returns
  • (::String)
Raises
  • (::ArgumentError)