Skip to content

Commit a383b6b

Browse files
Google APIscopybara-github
authored andcommitted
fix!: Removed obsolete field vertex from message .google.cloud.vectorsearch.v1.Ranker
fix!: Removed obsolete message `VertexRanker` PiperOrigin-RevId: 876103073
1 parent d420134 commit a383b6b

File tree

2 files changed

+3
-26
lines changed

2 files changed

+3
-26
lines changed

google/cloud/vectorsearch/v1/BUILD.bazel

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,8 @@ py_gapic_library(
196196
rest_numeric_enums = True,
197197
service_yaml = "vectorsearch_v1.yaml",
198198
transport = "grpc+rest",
199-
deps = [],
199+
deps = [
200+
],
200201
)
201202

202203
py_test(
@@ -312,9 +313,7 @@ ruby_grpc_library(
312313
ruby_cloud_gapic_library(
313314
name = "vectorsearch_ruby_gapic",
314315
srcs = [":vectorsearch_proto_with_info"],
315-
extra_protoc_parameters = [
316-
"ruby-cloud-gem-name=google-cloud-vectorsearch-v1",
317-
],
316+
extra_protoc_parameters = ["ruby-cloud-gem-name=google-cloud-vectorsearch-v1"],
318317
grpc_service_config = "vectorsearch_v1_grpc_service_config.json",
319318
rest_numeric_enums = True,
320319
service_yaml = "vectorsearch_v1.yaml",
@@ -349,7 +348,6 @@ load(
349348

350349
csharp_proto_library(
351350
name = "vectorsearch_csharp_proto",
352-
extra_opts = [],
353351
deps = [":vectorsearch_proto"],
354352
)
355353

google/cloud/vectorsearch/v1/data_object_search_service.proto

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -410,9 +410,6 @@ message Ranker {
410410
oneof ranker {
411411
// Reciprocal Rank Fusion ranking.
412412
ReciprocalRankFusion rrf = 1;
413-
414-
// Vertex AI ranking.
415-
VertexRanker vertex = 2;
416413
}
417414
}
418415

@@ -422,24 +419,6 @@ message ReciprocalRankFusion {
422419
repeated double weights = 1 [(google.api.field_behavior) = REQUIRED];
423420
}
424421

425-
// Defines a ranker using the Vertex AI ranking service.
426-
// See https://cloud.google.com/generative-ai-app-builder/docs/ranking for
427-
// details.
428-
message VertexRanker {
429-
// Required. The query against which the records are ranked and scored.
430-
string query = 1 [(google.api.field_behavior) = REQUIRED];
431-
432-
// Optional. The template used to generate the record's title.
433-
string title_template = 2 [(google.api.field_behavior) = OPTIONAL];
434-
435-
// Optional. The template used to generate the record's content.
436-
string content_template = 3 [(google.api.field_behavior) = OPTIONAL];
437-
438-
// Required. The model used for ranking documents. If no model is specified,
439-
// then semantic-ranker-default@latest is used.
440-
string model = 4 [(google.api.field_behavior) = REQUIRED];
441-
}
442-
443422
// A response from a batch search operation.
444423
message BatchSearchDataObjectsResponse {
445424
// Output only. A list of search responses, one for each request in the batch.

0 commit comments

Comments
 (0)