Skip to content

Commit 5a1146e

Browse files
vertex-sdk-botcopybara-github
authored andcommitted
feat: update the v1 service definition to add the embedding_id field in MatchRequest.
PiperOrigin-RevId: 518658960
1 parent a361948 commit 5a1146e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

google/cloud/aiplatform/matching_engine/_protos/match_service.proto

+7
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,13 @@ message MatchRequest {
6868
// embedding. Set this value may impact the query performance (e.g, increase
6969
// query latency, etc).
7070
bool embedding_enabled = 8;
71+
72+
// The embedding id.
73+
// If embedding values (float_val) is set, will use embedding values do
74+
// nearest neighbor search. If embedding values isn't set, will first uses
75+
// embedding_id to lookup embedding values from dataset, if embedding exist in
76+
// the dataset, do nearest neighbor search.
77+
string embedding_id = 10 [(datapol.semantic_type) = ST_IDENTIFYING_ID];
7178
}
7279

7380
// Embedding on query result.

0 commit comments

Comments
 (0)