import type { FunctionDefinition } from '../../definition_types'; /** * Finds the k nearest vectors to a query vector, as measured by a similarity metric. knn function finds nearest vectors through approximate search on indexed dense_vectors or semantic_text fields. * * @example * from colors metadata _score * | where knn(rgb_vector, [0, 120, 0]) * | sort _score desc, color asc */ declare const definition: FunctionDefinition; export default definition; //# sourceMappingURL=knn.d.ts.map