-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Discovery API and local mode (#368)
* add score calculations * fix type errors, route scorers accordingly * generate grpc client (only discovery stuff) * generate rest client * discover preprocessing + local mode handling * implement discover for remote client * add failing tests, fix some stuff * update rest client and local mode * fixes and more tests * fix mypy errors * generate async client * tiny edit docstring * simplify custom distance calculation, fix euclidean case for recommend best score * fix python version for generating grpc client * update grpc (select only discovery changes) * generate grpc: add also ShardKey changes, fix conversion changes for deprecated PointsUpdateOperation operations * fix coverage on conversions * generate async client * generate async client with python 3.11 * change dict -> typings.Dict * add deprecated field handling for grpc.PointsUpdateOperation * update grpc client * fix grpc conversion issues and review comments * increase coverage * also test for prefer_grpc = True * fix has_field * unflake test_context_many_pairs * don't convert if None in model conversions * move docstring to qdrant_client.py * handle request timeout on all other interfaces * oopsie: define timeout param in search_batch * generate async client
- Loading branch information
Showing
31 changed files
with
3,191 additions
and
848 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.