Skip to content

Commit

Permalink
feat: update the v1 service definition to add the embedding_id field …
Browse files Browse the repository at this point in the history
…in MatchRequest.

PiperOrigin-RevId: 518658960
  • Loading branch information
vertex-sdk-bot authored and Copybara-Service committed Mar 22, 2023
1 parent a361948 commit 5a1146e
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -68,6 +68,13 @@ message MatchRequest {
// embedding. Set this value may impact the query performance (e.g, increase
// query latency, etc).
bool embedding_enabled = 8;

// The embedding id.
// If embedding values (float_val) is set, will use embedding values do
// nearest neighbor search. If embedding values isn't set, will first uses
// embedding_id to lookup embedding values from dataset, if embedding exist in
// the dataset, do nearest neighbor search.
string embedding_id = 10 [(datapol.semantic_type) = ST_IDENTIFYING_ID];
}

// Embedding on query result.
Expand Down

0 comments on commit 5a1146e

Please sign in to comment.