Class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource

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

Overview

The definition of the Rag resource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1VertexRagStoreRagResource

Returns a new instance of GoogleCloudAiplatformV1beta1VertexRagStoreRagResource.



1498
1499
1500
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1498

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

Instance Attribute Details

#rag_corpusString

Optional. RagCorpora resource name. Format: projects/project/locations/ location/ragCorpora/rag_corpus` Corresponds to the JSON propertyragCorpus`

Returns:

  • (String)


1490
1491
1492
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1490

def rag_corpus
  @rag_corpus
end

#rag_file_idsArray<String>

Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. Corresponds to the JSON property ragFileIds

Returns:

  • (Array<String>)


1496
1497
1498
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1496

def rag_file_ids
  @rag_file_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1503
1504
1505
1506
# File 'lib/google/apis/firebaseml_v2beta/classes.rb', line 1503

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