Skip to content

Commit

Permalink
fix(aiplatform/v1beta1): change CreateFeature metadata (#4782)
Browse files Browse the repository at this point in the history
- [ ] Regenerate this pull request now.

chore(all): update Go generator moving all aux types

PiperOrigin-RevId: 578660021

Source-Link: https://togithub.com/googleapis/googleapis/commit/6cbf3a6c616d3fb45f939cff2f58ec031ad91db0

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/3784940a27cfb0df580ec4c320e6f1d0c98f74a8
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjM3ODQ5NDBhMjdjZmIwZGY1ODBlYzRjMzIwZTZmMWQwYzk4Zjc0YTgifQ==

BEGIN_NESTED_COMMIT
feat: Adding new fields for concurrent explanations
PiperOrigin-RevId: 578251436

Source-Link: https://togithub.com/googleapis/googleapis/commit/e85bb344ac522b5548289569047d06e902f6278d

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/9a7e2dc85c29658f0782c250f324551f74437068
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFpcGxhdGZvcm0vLk93bEJvdC55YW1sIiwiaCI6IjlhN2UyZGM4NWMyOTY1OGYwNzgyYzI1MGYzMjQ1NTFmNzQ0MzcwNjgifQ==
END_NESTED_COMMIT
  • Loading branch information
gcf-owl-bot[bot] authored Nov 3, 2023
1 parent d1f0a31 commit 489e188
Show file tree
Hide file tree
Showing 10 changed files with 555 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ service FeatureRegistryService {
option (google.api.method_signature) = "parent,feature,feature_id";
option (google.longrunning.operation_info) = {
response_type: "Feature"
metadata_type: "CreateRegistryFeatureOperationMetadata"
metadata_type: "CreateFeatureOperationMetadata"
};
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,16 @@ message ExplainRequest {
// - Using different baselines for explaining the prediction results.
ExplanationSpecOverride explanation_spec_override = 5;

// Optional. This field is the same as the one above, but supports multiple
// explanations to occur in parallel. The key can be any string. Each override
// will be run against the model, then its explanations will be grouped
// together.
//
// Note - these explanations are run **In Addition** to the default
// Explanation in the deployed model.
map<string, ExplanationSpecOverride> concurrent_explanation_spec_override = 6
[(google.api.field_behavior) = OPTIONAL];

// If specified, this ExplainRequest will be served by the chosen
// DeployedModel, overriding
// [Endpoint.traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split].
Expand All @@ -313,6 +323,17 @@ message ExplainRequest {
// Response message for
// [PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain].
message ExplainResponse {
// This message is a wrapper grouping Concurrent Explanations.
message ConcurrentExplanation {
// The explanations of the Model's
// [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
//
// It has the same number of elements as
// [instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances] to
// be explained.
repeated Explanation explanations = 1;
}

// The explanations of the Model's
// [PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions].
//
Expand All @@ -321,6 +342,10 @@ message ExplainResponse {
// explained.
repeated Explanation explanations = 1;

// This field stores the results of the explanations run in parallel with
// the default explanation strategy/method.
map<string, ConcurrentExplanation> concurrent_explanations = 4;

// ID of the Endpoint's DeployedModel that served this explanation.
string deployed_model_id = 2;

Expand Down
112 changes: 112 additions & 0 deletions packages/google-cloud-aiplatform/protos/protos.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 489e188

Please sign in to comment.