Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1FeatureViewVertexRagSource

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1FeatureViewVertexRagSource

Returns a new instance of GoogleCloudAiplatformV1FeatureViewVertexRagSource.



9265
9266
9267
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9265

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#rag_corpus_idFixnum

Optional. The RAG corpus id corresponding to this FeatureView. Corresponds to the JSON property ragCorpusId

Returns:

  • (Fixnum)


9253
9254
9255
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9253

def rag_corpus_id
  @rag_corpus_id
end

#uriString

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 at least: Field name Type Mode corpus_id STRING REQUIRED/NULLABLE file_id STRING REQUIRED/NULLABLE chunk_id STRING REQUIRED/NULLABLE chunk_data_type STRING REQUIRED/NULLABLE chunk_data STRING REQUIRED/NULLABLE embeddings FLOAT REPEATED file_original_uri STRING REQUIRED/NULLABLE Corresponds to the JSON property uri

Returns:

  • (String)


9263
9264
9265
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9263

def uri
  @uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9270
9271
9272
9273
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 9270

def update!(**args)
  @rag_corpus_id = args[:rag_corpus_id] if args.key?(:rag_corpus_id)
  @uri = args[:uri] if args.key?(:uri)
end