Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implement Approximate Nearest Neighbor support for DDL (CREATE …
…TABLE, CREATE VECTOR INDEX) (#124) * fix(testing+linting): add nox lint+format directives This change introduces new nox directives: * blacken: `nox -s blacken` * format: `nox -s format` to apply formatting to files * lint: `nox -s lint` to flag linting issues * unit: to run unit tests locally which are the basis to enable scalable development and continuous testing as I prepare to bring in Approximate Nearest Neighors (ANN) functionality into this package. Also while here, fixed a typo in the README.rst file that didn't have the correct import path. * feat: add Approximate Nearest Neighbor support to distance strategies This change adds ANN distance strategies for GoogleSQL semantics. While here started unit tests to effectively test out components without having to have a running Cloud Spanner instance. Updates #94 * Ensure vector fits within limits in sample * Update ANN query names + test expectations * Pass in strategy inferred from initialization * Hook up get_documents_from_query_results * Link up __search_by_ANN to similarity_search_by_vector * Incorporate pre_filter and post_filter plus update tests * Review addressing * Simplified checking if using ANN * Reduce the amount of changes * More reductions * More reductions to ease code review * Fit with get_rows_by_similarity_search_ann * Updates from nox * Fix PostGreSQL
- Loading branch information