Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::FeatureView::VertexRagSource (v0.52.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::FeatureView::VertexRagSource.

A Vertex Rag source for features that need to be synced to Online Store.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#rag_corpus_id

def rag_corpus_id() -> ::Integer
Returns
  • (::Integer) — Optional. The RAG corpus id corresponding to this FeatureView.

#rag_corpus_id=

def rag_corpus_id=(value) -> ::Integer
Parameter
  • value (::Integer) — Optional. The RAG corpus id corresponding to this FeatureView.
Returns
  • (::Integer) — Optional. The RAG corpus id corresponding to this FeatureView.

#uri

def uri() -> ::String
Returns
  • (::String) —

    Required. The BigQuery view/table URI that will be materialized on each manual sync trigger. The table/view is expected to have the following columns and types at least:

    • corpus_id (STRING, NULLABLE/REQUIRED)
    • file_id (STRING, NULLABLE/REQUIRED)
    • chunk_id (STRING, NULLABLE/REQUIRED)
    • chunk_data_type (STRING, NULLABLE/REQUIRED)
    • chunk_data (STRING, NULLABLE/REQUIRED)
    • embeddings (FLOAT, REPEATED)
    • file_original_uri (STRING, NULLABLE/REQUIRED)

#uri=

def uri=(value) -> ::String
Parameter
  • value (::String) —

    Required. The BigQuery view/table URI that will be materialized on each manual sync trigger. The table/view is expected to have the following columns and types at least:

    • corpus_id (STRING, NULLABLE/REQUIRED)
    • file_id (STRING, NULLABLE/REQUIRED)
    • chunk_id (STRING, NULLABLE/REQUIRED)
    • chunk_data_type (STRING, NULLABLE/REQUIRED)
    • chunk_data (STRING, NULLABLE/REQUIRED)
    • embeddings (FLOAT, REPEATED)
    • file_original_uri (STRING, NULLABLE/REQUIRED)
Returns
  • (::String) —

    Required. The BigQuery view/table URI that will be materialized on each manual sync trigger. The table/view is expected to have the following columns and types at least:

    • corpus_id (STRING, NULLABLE/REQUIRED)
    • file_id (STRING, NULLABLE/REQUIRED)
    • chunk_id (STRING, NULLABLE/REQUIRED)
    • chunk_data_type (STRING, NULLABLE/REQUIRED)
    • chunk_data (STRING, NULLABLE/REQUIRED)
    • embeddings (FLOAT, REPEATED)
    • file_original_uri (STRING, NULLABLE/REQUIRED)