Skip to content

Commit 2faf4a6

Browse files
Google APIscopybara-github
authored andcommitted
feat: Introduce RagManagedVertexVectorSearch as a new vector db option
feat: add RagCorpus.satisfies_pzs and RagCorpus.satisfies_pzi docs: A comment for field `rag_files_count` in message `.google.cloud.aiplatform.v1beta1.RagCorpus` is changed docs: A comment for field `user_metadata` in message `.google.cloud.aiplatform.v1beta1.RagFile` is changed docs: A comment for field `gcs_metadata_schema_source` in message `.google.cloud.aiplatform.v1beta1.RagFileMetadataConfig` is changed docs: A comment for field `google_drive_metadata_schema_source` in message `.google.cloud.aiplatform.v1beta1.RagFileMetadataConfig` is changed docs: A comment for field `gcs_metadata_source` in message `.google.cloud.aiplatform.v1beta1.RagFileMetadataConfig` is changed docs: A comment for field `google_drive_metadata_source` in message `.google.cloud.aiplatform.v1beta1.RagFileMetadataConfig` is changed docs: A comment for message `RagManagedDbConfig` is changed docs: A comment for field `enterprise` in message `.google.cloud.aiplatform.v1beta1.RagManagedDbConfig` is changed docs: A comment for field `scaled` in message `.google.cloud.aiplatform.v1beta1.RagManagedDbConfig` is changed PiperOrigin-RevId: 839431594
1 parent c751a01 commit 2faf4a6

File tree

1 file changed

+29
-10
lines changed

1 file changed

+29
-10
lines changed

google/cloud/aiplatform/v1beta1/vertex_rag_data.proto

Lines changed: 29 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,15 @@ message RagVectorDbConfig {
201201
string index = 2;
202202
}
203203

204+
// The config for the RAG-managed Vertex Vector Search 2.0.
205+
message RagManagedVertexVectorSearch {
206+
// Output only. The resource name of the Vector Search 2.0 Collection that
207+
// RAG Created for the corpus. Only populated after the corpus is
208+
// successfully created. Format:
209+
// `projects/{project}/locations/{location}/collections/{collection_id}`
210+
string collection_name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
211+
}
212+
204213
// The config for the Vector DB.
205214
oneof vector_db {
206215
// The config for the RAG-managed Vector DB.
@@ -217,6 +226,9 @@ message RagVectorDbConfig {
217226

218227
// The config for the Vertex Vector Search.
219228
VertexVectorSearch vertex_vector_search = 6;
229+
230+
// The config for the RAG-managed Vertex Vector Search 2.0.
231+
RagManagedVertexVectorSearch rag_managed_vertex_vector_search = 8;
220232
}
221233

222234
// Authentication config for the chosen Vector DB.
@@ -371,6 +383,9 @@ message RagCorpus {
371383
CorpusStatus corpus_status = 8 [(google.api.field_behavior) = OUTPUT_ONLY];
372384

373385
// Output only. Number of RagFiles in the RagCorpus.
386+
//
387+
// NOTE: This field is not populated in the response of
388+
// [VertexRagDataService.ListRagCorpora][google.cloud.aiplatform.v1beta1.VertexRagDataService.ListRagCorpora].
374389
int32 rag_files_count = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
375390

376391
// Optional. Immutable. The CMEK key name used to encrypt at-rest data related
@@ -385,6 +400,12 @@ message RagCorpus {
385400
// Optional. The corpus type config of the RagCorpus.
386401
CorpusTypeConfig corpus_type_config = 13
387402
[(google.api.field_behavior) = OPTIONAL];
403+
404+
// Output only. Reserved for future use.
405+
bool satisfies_pzs = 19 [(google.api.field_behavior) = OUTPUT_ONLY];
406+
407+
// Output only. Reserved for future use.
408+
bool satisfies_pzi = 20 [(google.api.field_behavior) = OUTPUT_ONLY];
388409
}
389410

390411
// A RagFile contains user data for chunking, embedding and indexing.
@@ -463,7 +484,7 @@ message RagFile {
463484
// Output only. State of the RagFile.
464485
FileStatus file_status = 13 [(google.api.field_behavior) = OUTPUT_ONLY];
465486

466-
// Output only. The metadata for metadata search. The contents will be
487+
// Output only. The metadata for metadata search. The user_metadata Needs to
467488
// be in JSON format.
468489
string user_metadata = 15 [(google.api.field_behavior) = OUTPUT_ONLY];
469490
}
@@ -604,13 +625,13 @@ message RagFileMetadataConfig {
604625
// well as entire Google Cloud Storage directories. Sample formats:
605626
// - `gs://bucket_name/my_directory/object_name/metadata_schema.json`
606627
// - `gs://bucket_name/my_directory`
607-
// If providing a directory, the metadata schema will be read from
628+
// If the user provides a directory, the metadata schema will be read from
608629
// the files that ends with "metadata_schema.json" in the directory.
609630
GcsSource gcs_metadata_schema_source = 1;
610631

611632
// Google Drive location. Supports importing individual files as
612633
// well as Google Drive folders.
613-
// If providing a folder, the metadata schema will be read from
634+
// If the user provides a folder, the metadata schema will be read from
614635
// the files that ends with "metadata_schema.json" in the directory.
615636
GoogleDriveSource google_drive_metadata_schema_source = 2;
616637

@@ -624,13 +645,13 @@ message RagFileMetadataConfig {
624645
// well as entire Google Cloud Storage directories. Sample formats:
625646
// - `gs://bucket_name/my_directory/object_name/metadata.json`
626647
// - `gs://bucket_name/my_directory`
627-
// If providing a directory, the metadata will be read from
648+
// If the user provides a directory, the metadata will be read from
628649
// the files that ends with "metadata.json" in the directory.
629650
GcsSource gcs_metadata_source = 4;
630651

631652
// Google Drive location. Supports importing individual files as
632653
// well as Google Drive folders.
633-
// If providing a directory, the metadata will be read from
654+
// If the user provides a directory, the metadata will be read from
634655
// the files that ends with "metadata.json" in the directory.
635656
GoogleDriveSource google_drive_metadata_source = 5;
636657

@@ -758,7 +779,6 @@ message ImportRagFilesConfig {
758779

759780
// Configuration message for RagManagedDb used by RagEngine.
760781
message RagManagedDbConfig {
761-
// Deprecated: Please use `Scaled` tier instead.
762782
// Enterprise tier offers production grade performance along with
763783
// autoscaling functionality. It is suitable for customers with large
764784
// amounts of data or performance sensitive workloads.
@@ -791,12 +811,11 @@ message RagManagedDbConfig {
791811

792812
// The tier of the RagManagedDb.
793813
oneof tier {
794-
// Deprecated: Please use `Scaled` tier instead.
795-
// Sets the RagManagedDb to the Enterprise tier. This is the default tier
796-
// if not explicitly chosen.
814+
// Sets the RagManagedDb to the Enterprise tier.
797815
Enterprise enterprise = 1 [deprecated = true];
798816

799-
// Sets the RagManagedDb to the Scaled tier.
817+
// Sets the RagManagedDb to the Scaled tier. This is the default tier
818+
// if not explicitly chosen.
800819
Scaled scaled = 4;
801820

802821
// Sets the RagManagedDb to the Basic tier.

0 commit comments

Comments
 (0)