From 7bcbfa79bf8a2236e585cb00e1fa69398298ced7 Mon Sep 17 00:00:00 2001 From: Google APIs Date: Fri, 5 May 2023 09:41:33 -0700 Subject: [PATCH] feat: add example_gcs_source to Examples in aiplatform v1beta1 explanation.proto PiperOrigin-RevId: 529739833 --- .../aiplatform/v1beta1/explanation.proto | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/google/cloud/aiplatform/v1beta1/explanation.proto b/google/cloud/aiplatform/v1beta1/explanation.proto index 6a0e8bfab3..1801a50214 100644 --- a/google/cloud/aiplatform/v1beta1/explanation.proto +++ b/google/cloud/aiplatform/v1beta1/explanation.proto @@ -425,6 +425,30 @@ message BlurBaselineConfig { // Example-based explainability that returns the nearest neighbors from the // provided dataset. message Examples { + // The Cloud Storage input instances. + message ExampleGcsSource { + // The format of the input example instances. + enum DataFormat { + // Format unspecified, used when unset. + DATA_FORMAT_UNSPECIFIED = 0; + + // Examples are stored in JSONL files. + JSONL = 1; + } + + // The format in which instances are given, if not specified, assume it's + // JSONL format. Currently only JSONL format is supported. + DataFormat data_format = 1; + + // The Cloud Storage location for the input instances. + GcsSource gcs_source = 2; + } + + oneof source { + // The Cloud Storage input instances. + ExampleGcsSource example_gcs_source = 5; + } + oneof config { // The full configuration for the generated index, the semantics are the // same as [metadata][google.cloud.aiplatform.v1beta1.Index.metadata] and