Skip to content

Commit

Permalink
Clean up some of the kNN code, removing unused paths (#110972)
Browse files Browse the repository at this point in the history
These `float[]` functions were only used by tests. Instead we should use
the `VectorData` abstraction.

Additionally, this updates our internal abstractions to take advantage
of our vector index type enumerations. This unifies and simplifies
validation logic, etc.
  • Loading branch information
benwtrent authored Jul 18, 2024
1 parent 7e292db commit 489100a
Show file tree
Hide file tree
Showing 6 changed files with 204 additions and 129 deletions.
Loading

0 comments on commit 489100a

Please sign in to comment.