Exception: Parse::VectorSearch::InvalidQueryVector

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/parse/vector_search.rb

Overview

Raised when the caller’s query vector has the wrong shape. Inherits from ‘ArgumentError` so callers can rescue uniformly alongside the other bad-input `ArgumentError`s raised inline by search (bad k, bad field, bad num_candidates).