Actions13
- Collection Actions
- Vector Actions
- System Actions
- Graph Actions
Vector → Search Vector
AI-generatedSummary
Searches a HyperspaceDB collection for the most similar vectors to a specified raw vector embedding, returning the top matching results.
Inputs
- Collection Name (required) — The name of the collection in which to perform the vector similarity search.
- Vector Data (JS Array) (required) — The JSON array representing the raw vector embedding to search for similar vectors.
- Top K — The maximum number of search results to return, defaults to 10.
Output shape
a single record containing a 'results' array with the top K vector similarity matches found in the specified collection.
The 'Vector Data' input is parsed as JSON to form the query vector. The operation returns an object with a 'results' property encapsulating the search results. Errors during execution are thrown unless 'Continue On Fail' is enabled, in which case error details appear in the output.