Google Vertex Vector Search icon

Google Vertex Vector Search

Interact with Google Vertex AI Vector Search

Actions9

Index Endpoint → Query

AI-generated

Summary

Query the Google Vertex AI Vector Search index endpoint to find nearest neighbor vectors based on a provided query vector.

Inputs

  • Location (required) — Specify the Google Cloud location of the Vector Search resources, e.g., 'us-central1'.
  • Endpoint ID (required) — Enter the ID of the index endpoint to query against.
  • Query Vector (required) — Provide the query vector as a JSON array of numbers representing the features to search for.
  • Neighbor Count — Set the number of nearest neighbor results to return; defaults to 10 if not specified.

Output shape

a single JSON object containing the nearest neighbor results for the query vector against the specified index endpoint

The operation returns the raw response from Google Vertex AI's MatchServiceClient findNeighbors call. The exact structure includes matching data points and their similarity scores. Multiple input items are processed individually with corresponding output items. Errors may be returned in item outputs if continue-on-fail is enabled.

Discussion