Skip to content

Commit 87e3579

Browse files
Google APIscopybara-github
authored andcommitted
feat: RAG - add mode config to RagEngineConfig with Spanner and Serverless
feat: RAG - deprecate tier from RagEngineConfig docs: A comment for message `RagManagedDbConfig` is changed docs: A comment for field `scaled` in message `.google.cloud.aiplatform.v1beta1.RagManagedDbConfig` is changed docs: A comment for field `basic` in message `.google.cloud.aiplatform.v1beta1.RagManagedDbConfig` is changed docs: A comment for field `unprovisioned` in message `.google.cloud.aiplatform.v1beta1.RagManagedDbConfig` is changed PiperOrigin-RevId: 858643621
1 parent d9f058d commit 87e3579

File tree

3 files changed

+41
-9
lines changed

3 files changed

+41
-9
lines changed

google/cloud/aiplatform/v1beta1/vertex_rag_data.proto

Lines changed: 39 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.
@@ -798,7 +798,7 @@ message RagManagedDbConfig {
798798
// * Latency insensitive workload.
799799
// * Only using RAG Engine with external vector DBs.
800800
//
801-
// NOTE: This is the default tier if not explicitly chosen.
801+
// NOTE: This is the default tier under Spanner mode if not explicitly chosen.
802802
message Basic {}
803803

804804
// Disables the RAG Engine service and deletes all your data held
@@ -809,20 +809,52 @@ message RagManagedDbConfig {
809809
// UpdateRagEngineConfig API.
810810
message Unprovisioned {}
811811

812+
// Message to configure the Spanner database used by RagManagedDb.
813+
message Spanner {
814+
// The tier of the RagManagedDb, built on top of Spanner.
815+
oneof tier {
816+
// Sets the RagManagedDb to the Scaled tier.
817+
Scaled scaled = 1;
818+
819+
// Sets the RagManagedDb to the Basic tier. This is the default tier for
820+
// Spanner mode if not explicitly chosen.
821+
Basic basic = 2;
822+
823+
// Sets the RagManagedDb to the Unprovisioned tier.
824+
Unprovisioned unprovisioned = 3;
825+
}
826+
}
827+
828+
// Message to configure the serverless mode offered by RAG Engine.
829+
message Serverless {}
830+
812831
// The tier of the RagManagedDb.
813832
oneof tier {
814833
// Sets the RagManagedDb to the Enterprise tier.
815834
Enterprise enterprise = 1 [deprecated = true];
816835

817-
// Sets the RagManagedDb to the Scaled tier. This is the default tier
818-
// if not explicitly chosen.
819-
Scaled scaled = 4;
836+
// Deprecated: Use `mode` instead to set the tier under Spanner.
837+
// Sets the RagManagedDb to the Scaled tier.
838+
Scaled scaled = 4 [deprecated = true];
820839

840+
// Deprecated: Use `mode` instead to set the tier under Spanner.
821841
// Sets the RagManagedDb to the Basic tier.
822-
Basic basic = 2;
842+
Basic basic = 2 [deprecated = true];
823843

844+
// Deprecated: Use `mode` instead to set the tier under Spanner.
824845
// Sets the RagManagedDb to the Unprovisioned tier.
825-
Unprovisioned unprovisioned = 3;
846+
Unprovisioned unprovisioned = 3 [deprecated = true];
847+
}
848+
849+
// The choice of backend for your RagEngine.
850+
oneof mode {
851+
// Sets the backend to be the serverless mode offered by RAG Engine.
852+
Serverless serverless = 5;
853+
854+
// Sets the RAG Engine backend to be RagManagedDb, built on top of Spanner.
855+
//
856+
// NOTE: This is the default mode (w/ Basic Tier) if not explicitly chosen.
857+
Spanner spanner = 6;
826858
}
827859
}
828860

google/cloud/aiplatform/v1beta1/vertex_rag_data_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

google/cloud/aiplatform/v1beta1/vertex_rag_service.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2025 Google LLC
1+
// Copyright 2026 Google LLC
22
//
33
// Licensed under the Apache License, Version 2.0 (the "License");
44
// you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)