Proto commits in qdrant/qdrant-client

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:f670a41
Author:George
Committer:George Panchuk

Recommend sum score (#940) * new: add sum_scores strategy, fix lookup from in query_batch_points, fix euclid between multivectors local mode * new: recommend average multivectors, fix tests, add new tests for multivectors * fix: address review comments * fix: regen async * tests: uncomment tests * new: update poetry lock, require pydantic >=2.11 for populate inspection cache * fix: tmp disable euclidean multivec search tests, fix multivec with nan test * fix: align euclid and manhattan with core, add tests * fix: fix type hints * tests: use atol in comparison * tests: remove manhattan tests * tests: reduce number of multivectors * remove float comparison relaxation * explain why it is different for euclid and manhattan --------- Co-authored-by: Luis Cossío <luis.cossio@outlook.com>

The documentation is generated from this commit.

Commit:47fb013
Author:Luis Cossío
Committer:George Panchuk

[score boosting] Support datetime expressions (#930) * gen grpc * generate rest client * use float for formula evaluation, match multivalue behavior * support datetime expressions * populate inspection cache * review remarks * support datetime_key * fix: address AI comments * fix: regen inspection cache * regen inspection cache with pydantic 2.10 --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:72257c9
Author:Luis Cossío
Committer:George Panchuk

[score boosting] support decay functions (#929) * update grpc client * generate rest client * add decay expressions evaluation and fixtures * add conversions * validate in formula and fix test * add fixtures * new: update inspection cache * Review remarks * review nit * fix rebase --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:42154ee
Author:George
Committer:George Panchuk

optimize schema parser recursion calls, update models (#924) * fix: optimize schema parser recursive calls * fix: fix mypy * new: update models, regenerate cache (#925) * new: update models, regenerate cache * new: update conversions * fix: fix strict mode config in migrate * new: update field condition conversion with is_null, is_empty * fix: apply ruff

Commit:01368c9
Author:Arnaud Gourlay
Committer:George Panchuk

Regen REST and gRPC clients (#903) * Regen REST and gRPC clients * update inspection cache * update dev doc * add conversions for new strict mode fields * handle empty strict mode fields + test --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:5a454a7
Author:George
Committer:GitHub

Recommend sum score (#940) * new: add sum_scores strategy, fix lookup from in query_batch_points, fix euclid between multivectors local mode * new: recommend average multivectors, fix tests, add new tests for multivectors * fix: address review comments * fix: regen async * tests: uncomment tests * new: update poetry lock, require pydantic >=2.11 for populate inspection cache * fix: tmp disable euclidean multivec search tests, fix multivec with nan test * fix: align euclid and manhattan with core, add tests * fix: fix type hints * tests: use atol in comparison * tests: remove manhattan tests * tests: reduce number of multivectors * remove float comparison relaxation * explain why it is different for euclid and manhattan --------- Co-authored-by: Luis Cossío <luis.cossio@outlook.com>

Commit:7d864fa
Author:George Panchuk
Committer:George Panchuk

new: add sum_scores strategy, fix lookup from in query_batch_points, fix euclid between multivectors local mode

Commit:e704e4f
Author:Luis Cossío
Committer:GitHub

[score boosting] Support datetime expressions (#930) * gen grpc * generate rest client * use float for formula evaluation, match multivalue behavior * support datetime expressions * populate inspection cache * review remarks * support datetime_key * fix: address AI comments * fix: regen inspection cache * regen inspection cache with pydantic 2.10 --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:2ba54bc
Author:Luis Cossío
Committer:Luis Cossío

gen grpc

Commit:983fce8
Author:Luis Cossío
Committer:GitHub

[score boosting] support decay functions (#929) * update grpc client * generate rest client * add decay expressions evaluation and fixtures * add conversions * validate in formula and fix test * add fixtures * new: update inspection cache * Review remarks * review nit * fix rebase --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:aa420bd
Author:Luis Cossío
Committer:Luis Cossío

update grpc client

Commit:0cde344
Author:George Panchuk

update models

Commit:8f0dcfb
Author:tellet-q
Committer:George Panchuk

Re-generate clients

Commit:6d8509a
Author:George
Committer:GitHub

optimize schema parser recursion calls, update models (#924) * fix: optimize schema parser recursive calls * fix: fix mypy * new: update models, regenerate cache (#925) * new: update models, regenerate cache * new: update conversions * fix: fix strict mode config in migrate * new: update field condition conversion with is_null, is_empty * fix: apply ruff

Commit:0231eb2
Author:George
Committer:GitHub

new: update models, regenerate cache (#925) * new: update models, regenerate cache * new: update conversions * fix: fix strict mode config in migrate * new: update field condition conversion with is_null, is_empty * fix: apply ruff

Commit:fec9df1
Author:George Panchuk

new: update models, regenerate cache

Commit:bfca8d0
Author:Arnaud Gourlay

Update gRPC as well because other types are involved

Commit:321d2a8
Author:Arnaud Gourlay
Committer:GitHub

Regen REST and gRPC clients (#903) * Regen REST and gRPC clients * update inspection cache * update dev doc * add conversions for new strict mode fields * handle empty strict mode fields + test --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:0cb77de
Author:Arnaud Gourlay

Regen REST and gRPC clients

Commit:fb9e2d0
Author:George
Committer:George Panchuk

update clients (#880) * update clients * new: update conversions * fix: update inspection cache * update grpc * bump fastembed to 0.5.1 * update poetry lock * update poetry lock

Commit:a0d6c4b
Author:Andrey Vasnetsov
Committer:George Panchuk

Update API to v1.13 (#874) * update openapi and grpc + conversions * add strict mode to conversions + coverage * add strict mode to collection creation * add local mode for has_vectors condition * regen async with python 3.10 * tests for has-vector * fix filters in tests * fix conversion * fix test * Has vector tests (#878) * new: add has vector fixture * tests: add has vector multivector test * fix: add missing strict mode config usage and conversion (#877) * fix: add missing strict mode config usage and conversion * fix: pass strict mode config in update collection * fix: add strict mode config to recreate collection --------- Co-authored-by: George <george.panchuk@qdrant.tech>

Commit:af48df3
Author:George
Committer:George Panchuk

new: make model name mandatory in inference structures (#846)

Commit:5488e8d
Author:George
Committer:George Panchuk

Alter image structure (#845) * new: assign image.image Any type in grpc * new: update image structure, rename embed utils Path to FieldPath

Commit:ac1d535
Author:George
Committer:George Panchuk

Inference grpc (#838) * new: update proto * fix: rollback too recent changes to proto * new: add and fix conversions * fix: fix type hints * fix: fix comment * fix: convert options * fix: fix vector output conversion * tests: add custom conversion case for new vector fields

Commit:dffab2e
Author:George
Committer:GitHub

update clients (#880) * update clients * new: update conversions * fix: update inspection cache * update grpc * bump fastembed to 0.5.1 * update poetry lock * update poetry lock

Commit:22f6c5f
Author:George Panchuk

update grpc

Commit:98de01b
Author:George Panchuk

update clients

Commit:3f56da7
Author:Andrey Vasnetsov
Committer:GitHub

Update API to v1.13 (#874) * update openapi and grpc + conversions * add strict mode to conversions + coverage * add strict mode to collection creation * add local mode for has_vectors condition * regen async with python 3.10 * tests for has-vector * fix filters in tests * fix conversion * fix test * Has vector tests (#878) * new: add has vector fixture * tests: add has vector multivector test * fix: add missing strict mode config usage and conversion (#877) * fix: add missing strict mode config usage and conversion * fix: pass strict mode config in update collection * fix: add strict mode config to recreate collection --------- Co-authored-by: George <george.panchuk@qdrant.tech>

Commit:362eee7
Author:generall

update openapi and grpc + conversions

Commit:8d6bee2
Author:George
Committer:GitHub

new: make model name mandatory in inference structures (#846)

Commit:cdc1f8d
Author:George Panchuk

new: make model name mandatory in inference structures

Commit:e15b21e
Author:George
Committer:GitHub

Alter image structure (#845) * new: assign image.image Any type in grpc * new: update image structure, rename embed utils Path to FieldPath

Commit:ad863b1
Author:George Panchuk

new: assign image.image Any type in grpc

Commit:636f3e8
Author:George
Committer:GitHub

Inference grpc (#838) * new: update proto * fix: rollback too recent changes to proto * new: add and fix conversions * fix: fix type hints * fix: fix comment * fix: convert options * fix: fix vector output conversion * tests: add custom conversion case for new vector fields

Commit:b308c50
Author:George Panchuk

fix: rollback too recent changes to proto

Commit:67574a3
Author:George Panchuk

new: update proto

Commit:63c0f20
Author:George
Committer:George Panchuk

new: add mmap geo index (#804)

Commit:4bcdedd
Author:George
Committer:GitHub

new: add mmap geo index (#804)

Commit:3647b63
Author:George Panchuk

new: add mmap geo index

Commit:bdbe43d
Author:Luis Cossío
Committer:George Panchuk

chore: Update clients (#758) * update rest client * update grpc client with grpcio 1.65.4 * update grpc client with grpcio==1.49.1 * generate grpc client with grpcio==1.48.2 * generate grpc client with grpcio==1.66.1 and mypy-protobuf extension * add mypy-protobuf to pyproject * relax version for grpcio, but keep grpcio-tools at 1.48.2 * improve generation script * fix bash script comment Co-authored-by: George <george.panchuk@qdrant.tech> * use old grpcio to generate client * rollbakc mypy-protobuf * regenerate with distance matrix * new: update clients (#774) * new: update clients * rollback grpcio version * feature: Facets (#759) * facet in local_collection.py * replace usages of calculate_payload_mask * - qdrant remote - qdrant base - qdrant client - conversions * congruence tests + local mode fixes * generate async client * add type stubs and misc fixes * fix mypy in Python 3.8 * generate async client * review remarks * gen async client * update for bool facets * Feature: Distance Matrix API (#769) * add remote impls * add client impl * regen async client * start local * regen async * local mode * start congruence * Fix local mode * regen async of course * test filtering * fix min samples count * simplify comparaison loop * simplify samples loop * add rest/gRPC conversion tests * fix conversions + tests --------- Co-authored-by: George <george.panchuk@qdrant.tech> Co-authored-by: generall <andrey@vasnetsov.com> Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com>

Commit:a6e2324
Author:Luis Cossío
Committer:GitHub

chore: Update clients (#758) * update rest client * update grpc client with grpcio 1.65.4 * update grpc client with grpcio==1.49.1 * generate grpc client with grpcio==1.48.2 * generate grpc client with grpcio==1.66.1 and mypy-protobuf extension * add mypy-protobuf to pyproject * relax version for grpcio, but keep grpcio-tools at 1.48.2 * improve generation script * fix bash script comment Co-authored-by: George <george.panchuk@qdrant.tech> * use old grpcio to generate client * rollbakc mypy-protobuf * regenerate with distance matrix * new: update clients (#774) * new: update clients * rollback grpcio version * feature: Facets (#759) * facet in local_collection.py * replace usages of calculate_payload_mask * - qdrant remote - qdrant base - qdrant client - conversions * congruence tests + local mode fixes * generate async client * add type stubs and misc fixes * fix mypy in Python 3.8 * generate async client * review remarks * gen async client * update for bool facets * Feature: Distance Matrix API (#769) * add remote impls * add client impl * regen async client * start local * regen async * local mode * start congruence * Fix local mode * regen async of course * test filtering * fix min samples count * simplify comparaison loop * simplify samples loop * add rest/gRPC conversion tests * fix conversions + tests --------- Co-authored-by: George <george.panchuk@qdrant.tech> Co-authored-by: generall <andrey@vasnetsov.com> Co-authored-by: Arnaud Gourlay <arnaud.gourlay@gmail.com>

Commit:9f736ac
Author:Luis Cossío
Committer:GitHub

feature: Facets (#759) * facet in local_collection.py * replace usages of calculate_payload_mask * - qdrant remote - qdrant base - qdrant client - conversions * congruence tests + local mode fixes * generate async client * add type stubs and misc fixes * fix mypy in Python 3.8 * generate async client * review remarks * gen async client * update for bool facets

Commit:42cc96c
Author:Luis Cossío

update for bool facets

Commit:f9ece82
Author:George
Committer:George Panchuk

Fix grpc payload index params (#773) * fix: update grpc parametrized payload index * fix: optional lookup and range for integer payload index * tests: add tests * fix: remove updates which are too early for the time * chore: add newline

Commit:1c600f5
Author:George
Committer:George Panchuk

new: update clients (#774) * new: update clients * rollback grpcio version

Commit:75d9814
Author:Luis Cossío
Committer:George Panchuk

regenerate with distance matrix

Commit:b89cae6
Author:Luis Cossío
Committer:George Panchuk

generate grpc client with grpcio==1.48.2

Commit:e1c058f
Author:Luis Cossío
Committer:George Panchuk

update grpc client with grpcio 1.65.4

Commit:2bd4f7a
Author:George
Committer:GitHub

Fix grpc payload index params (#773) * fix: update grpc parametrized payload index * fix: optional lookup and range for integer payload index * tests: add tests * fix: remove updates which are too early for the time * chore: add newline

Commit:8d769ae
Author:George Panchuk

new: update clients

Commit:1339bd7
Author:George Panchuk

fix: optional lookup and range for integer payload index

Commit:8bce5e7
Author:George Panchuk

fix: update grpc parametrized payload index

Commit:009af2f
Author:Luis Cossío

regenerate with distance matrix

Commit:5770dfb
Author:Arnaud Gourlay

Feature: Distance matrix API

Commit:cf43b0a
Author:Luis Cossío
Committer:Luis Cossío

update grpc client with grpcio 1.65.4

Commit:a7e0ce2
Author:Luis Cossío
Committer:Luis Cossío

generate grpc client with grpcio==1.48.2

Commit:42eb0a6
Author:Hossam Hagag
Committer:George Panchuk

Add missing timeouts and regenerate grpc (#721) * fixed missing grpc timeouts * added timeouts in the corresponding rest calls of grpc * regenerated grpc client * new: add timeout to QdrantClient and AsyncQdrantClient * fix: remove duplicated timeout arg --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:5919e31
Author:George
Committer:George Panchuk

new: regenerate clients (#729) * new: regenerate clients * new: add conversions for payload indices * regen with latest grpc --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:7a84e6e
Author:Arnaud Gourlay
Committer:George Panchuk

universal-search: Query Group API and local mode (#690) * universal-search: Query Group API and local mode * requires different logic for gRPC error assertion * you come to me at runtime for a compile time issue * suddenly throwing a different error * test more group key types * extend limit of prefetches during group_by * rescoring is the issue * one problem at a time please * code review * regen clients * code review * add lookup_from to query_points_groups * test with_lookup * test and fix gRPC * drop dedicated conversion * Update qdrant_client/qdrant_client.py Co-authored-by: Luis Cossío <luis.cossio@outlook.com> * regen async * Distribution-based score fusion in local mode (#703) * pre-implement dbsf * add dbsf congruence tests * mypy lints * add conversions * tests: add test for dbsf conversion --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech> * Random sample in local mode (#705) * pre-implement random sampling * generate models * add conversions and tests * fix mypy lints * tests: add test for sample random conversion * use camelcase Sample.Random * review fixes * fix mypy --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech> * fix: add type ignore for mypy * fix: fix type hints for 3.8 * fix: do not run mypy on async client generator in CI, simplify condition * Grpc comparison in tests (#726) * add parametrized fixture for using grpc too * compare grpc and http without running each setup twice * fix: fix exception types in invalid types test * fix: remove random seed which led to a erroneous sequence --------- Co-authored-by: Luis Cossío <luis.cossio@outlook.com> --------- Co-authored-by: Luis Cossío <luis.cossio@outlook.com> Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:97a8b35
Author:George
Committer:George Panchuk

new: add info endpoint (#678) * new: add info endpoint * fix: fix async generator * fix: remove crutch, update openapi * fix: regen async * fix: regen client with recommend strategy fix

Commit:57f44d9
Author:Hossam Hagag
Committer:GitHub

Add missing timeouts and regenerate grpc (#721) * fixed missing grpc timeouts * added timeouts in the corresponding rest calls of grpc * regenerated grpc client * new: add timeout to QdrantClient and AsyncQdrantClient * fix: remove duplicated timeout arg --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:0259a80
Author:George
Committer:GitHub

new: regenerate clients (#729) * new: regenerate clients * new: add conversions for payload indices * regen with latest grpc --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:5b28a34
Author:generall

regen with latest grpc

Commit:2b64078
Author:George Panchuk

new: regenerate clients

Commit:44bbded
Author:Arnaud Gourlay
Committer:GitHub

universal-search: Query Group API and local mode (#690) * universal-search: Query Group API and local mode * requires different logic for gRPC error assertion * you come to me at runtime for a compile time issue * suddenly throwing a different error * test more group key types * extend limit of prefetches during group_by * rescoring is the issue * one problem at a time please * code review * regen clients * code review * add lookup_from to query_points_groups * test with_lookup * test and fix gRPC * drop dedicated conversion * Update qdrant_client/qdrant_client.py Co-authored-by: Luis Cossío <luis.cossio@outlook.com> * regen async * Distribution-based score fusion in local mode (#703) * pre-implement dbsf * add dbsf congruence tests * mypy lints * add conversions * tests: add test for dbsf conversion --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech> * Random sample in local mode (#705) * pre-implement random sampling * generate models * add conversions and tests * fix mypy lints * tests: add test for sample random conversion * use camelcase Sample.Random * review fixes * fix mypy --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech> * fix: add type ignore for mypy * fix: fix type hints for 3.8 * fix: do not run mypy on async client generator in CI, simplify condition * Grpc comparison in tests (#726) * add parametrized fixture for using grpc too * compare grpc and http without running each setup twice * fix: fix exception types in invalid types test * fix: remove random seed which led to a erroneous sequence --------- Co-authored-by: Luis Cossío <luis.cossio@outlook.com> --------- Co-authored-by: Luis Cossío <luis.cossio@outlook.com> Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:dc585b3
Author:Luis Cossío
Committer:George Panchuk

Random sample in local mode (#705) * pre-implement random sampling * generate models * add conversions and tests * fix mypy lints * tests: add test for sample random conversion * use camelcase Sample.Random * review fixes * fix mypy --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:ed2352d
Author:Arnaud Gourlay
Committer:George Panchuk

regen clients

Commit:fb56f26
Author:Arnaud Gourlay
Committer:George Panchuk

universal-search: Query Group API and local mode

Commit:9f31c70
Author:Luis Cossío
Committer:GitHub

Random sample in local mode (#705) * pre-implement random sampling * generate models * add conversions and tests * fix mypy lints * tests: add test for sample random conversion * use camelcase Sample.Random * review fixes * fix mypy --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:911ba0f
Author:Luis Cossío
Committer:George Panchuk

use camelcase Sample.Random

Commit:e34ff35
Author:Luis Cossío
Committer:George Panchuk

generate models

Commit:59a1569
Author:George
Committer:GitHub

new: add info endpoint (#678) * new: add info endpoint * fix: fix async generator * fix: remove crutch, update openapi * fix: regen async * fix: regen client with recommend strategy fix

Commit:d7e38a1
Author:Arnaud Gourlay
Committer:Arnaud Gourlay

regen clients

Commit:584e172
Author:Arnaud Gourlay
Committer:Arnaud Gourlay

universal-search: Query Group API and local mode

Commit:ee04bf9
Author:George Panchuk

new: add info endpoint

Commit:39bed1b
Author:George
Committer:generall

new: add query interface draft (#655) * new: add query interface draft * fix: temporarily update fastembed generator * review fixes * generate async client * generate async client --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:93eb934
Author:George
Committer:generall

new: update prefetch structure, fix start from pydantic v1 bug (#656) * new: update prefetch structure, fix start from pydantic v1 bug * fix: fix missing multivec_config replacement in local mode

Commit:afb8d2d
Author:Andrey Vasnetsov
Committer:generall

Update openapi v1 10 x (#622) * update api with conversions * introduce IDF modifier for sparse vectors in local mode * generate stuff * regen async * Update tests/fixtures/points.py * fix: address review comments * upd models * fix: update grpc overwrite payload conversion, fix order by conversion (#653) --------- Co-authored-by: George <george.panchuk@qdrant.tech>

Commit:00da88e
Author:George
Committer:GitHub

new: add query interface draft (#655) * new: add query interface draft * fix: temporarily update fastembed generator * review fixes * generate async client * generate async client --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:fed4315
Author:generall
Committer:generall

review fixes

Commit:31aca81
Author:George
Committer:GitHub

new: update prefetch structure, fix start from pydantic v1 bug (#656) * new: update prefetch structure, fix start from pydantic v1 bug * fix: fix missing multivec_config replacement in local mode

Commit:ea557d2
Author:George Panchuk

new: update prefetch structure, fix start from pydantic v1 bug

Commit:815a784
Author:Andrey Vasnetsov
Committer:GitHub

Update openapi v1 10 x (#622) * update api with conversions * introduce IDF modifier for sparse vectors in local mode * generate stuff * regen async * Update tests/fixtures/points.py * fix: address review comments * upd models * fix: update grpc overwrite payload conversion, fix order by conversion (#653) --------- Co-authored-by: George <george.panchuk@qdrant.tech>

Commit:b29d289
Author:generall

upd models

Commit:8cc93fa
Author:generall
Committer:generall

update api with conversions

Commit:6b001b8
Author:Andrey Vasnetsov
Committer:George Panchuk

V1.9.x (#608) * update models * up backward compatibility version * refactoring: address review comment --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:7207463
Author:Andrey Vasnetsov
Committer:GitHub

V1.9.x (#608) * update models * up backward compatibility version * refactoring: address review comment --------- Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>

Commit:21863d1
Author:Luis Cossío
Committer:George Panchuk

Generate rest and grpc clients for 1.8 (#512) * update grpc client * update rest client

Commit:ee22ab2
Author:Luis Cossío
Committer:George Panchuk

Local mode of `order_by` parameter in `scroll` + datetime support (#491) * generate rest client (only points_api) * generate grpc client (points part only) * add local mode implementation * update collections_api.py * add grpc conversions * fix problematic StartFrom Union order * add basic congruence test * route order_by in qdrant clients * fix local mode `start_from` logic * add library stubs for dateutil * generate async client * generate the rest of the rest client 👻 * test datetime values too * add int Range and int StartFrom * update points.proto and points_pb2.py * fix conversion of range interface * add conversion fixtures and use better conversion of datetime to timestamp * remove integer range * restore `value_by_key()` * OrderBy grpc to rest conversions * generate async client * use `OrderByInterface` instead of only `OrderBy` * - use equivalent qdrant core datetime parsing, - use type alias for OrderingValue, instead of custom class, - better random date generation * Drop custom datetime parser implementation * nit fixes * fix flakiness of the congruence test by subsorting * better datetime to timestamp conversion * uncomment conversion fixtures, add Direction * restore poetry.lock and remove dateutil dep * poetry lock --no-update * rename datetime.py to datetime_utils.py * add StrictInt to StartFrom union * use more date formats in fixtures * move conversion test to `test_validate_conversions.py` * drop `%:z` formats * add more complex timezones to payload fixtures, fix deserialization * update datetime parsing test

Commit:62c79e2
Author:Luis Cossío
Committer:GitHub

Generate rest and grpc clients for 1.8 (#512) * update grpc client * update rest client

Commit:332777d
Author:Luis Cossío
Committer:GitHub

Local mode of `order_by` parameter in `scroll` + datetime support (#491) * generate rest client (only points_api) * generate grpc client (points part only) * add local mode implementation * update collections_api.py * add grpc conversions * fix problematic StartFrom Union order * add basic congruence test * route order_by in qdrant clients * fix local mode `start_from` logic * add library stubs for dateutil * generate async client * generate the rest of the rest client 👻 * test datetime values too * add int Range and int StartFrom * update points.proto and points_pb2.py * fix conversion of range interface * add conversion fixtures and use better conversion of datetime to timestamp * remove integer range * restore `value_by_key()` * OrderBy grpc to rest conversions * generate async client * use `OrderByInterface` instead of only `OrderBy` * - use equivalent qdrant core datetime parsing, - use type alias for OrderingValue, instead of custom class, - better random date generation * Drop custom datetime parser implementation * nit fixes * fix flakiness of the congruence test by subsorting * better datetime to timestamp conversion * uncomment conversion fixtures, add Direction * restore poetry.lock and remove dateutil dep * poetry lock --no-update * rename datetime.py to datetime_utils.py * add StrictInt to StartFrom union * use more date formats in fixtures * move conversion test to `test_validate_conversions.py` * drop `%:z` formats * add more complex timezones to payload fixtures, fix deserialization * update datetime parsing test

Commit:8e80a97
Author:Arnaud Gourlay
Committer:George Panchuk

Regenerate client

Commit:621030e
Author:Arnaud Gourlay
Committer:George Panchuk

New public sparse vector configuration (#393) * New public sparse vector configuration * regen * fix stubs * fix test * conversions * fix conversion * apply api changes --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:e53bc6f
Author:Andrey Vasnetsov
Committer:George Panchuk

Manhattan and shard key (#391) * support for manhattan distance * conversion for shard_key_selector * use shard_key_selector in read api * allow shard_keys * regen async * fix tests * type checker * type checker * tests for custom sharding * async * review fixes * review fixes * review fixes

Commit:cbc9dda
Author:Arnaud Gourlay
Committer:George Panchuk

Sparse vectors API and local mode (#378) * draft * thread sparse_vectors_config through * test ingest sparse data * make async_client consistent for create collection * regen async * align client hierarchy * do not give up * disable async consistency check for now * regen * workaround async client breakage * generate gRPC * new healtcheck proto files * fix gen branch * fix grpc generation - had to reinstall to downgrade grpcio * bump test docker image * wait for update when migrating * regen REST + update config * add sparse search congruence * congruence scroll sparse vectors * congruence test retrieve sparse * more sparse tests and waiting on remote * remove healthcheck service * misc * reinstate len check * fix scoring if no overlap * sparse distance as numpy float without rounding * fix payload selector * fix payload exclude * dedicated collection name to not collide with openapi engine tests * fix with_vector, scoring no overlap, closeness assetion * convert float only once * regen gRPC to exclude health_check * code review cleanup * validate and sort sparse vector before persistence * regen REST * test deletes and update with fix * fix async client * fix batch size * fix async client * don't give up * remove validated todo * fix sparse vectors loading test * fix sparse vectors loading test * rm empty * mention sparse vectors in the fake local info * fix upload collection wait propagation * fix async. init_from tests * resync async * rework test sparse vector generation * regen clients * update to dev * update REST models * async client * do not change it yet * fix migration test * do not create a sparse configuration by default * fix backward compatibility by disabling serialization of none fields * fix type imports * regen gRPC * test BatchVectorStruct REST to gRPC conversion * test gRPC->REST conversion * sparse grpc tests and conversions fix * generate async client --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:298e67b
Author:Luis Cossío
Committer:George Panchuk

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

Commit:b7e8e45
Author:Arnaud Gourlay
Committer:GitHub

New public sparse vector configuration (#393) * New public sparse vector configuration * regen * fix stubs * fix test * conversions * fix conversion * apply api changes --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:dd4b91c
Author:Andrey Vasnetsov
Committer:GitHub

Manhattan and shard key (#391) * support for manhattan distance * conversion for shard_key_selector * use shard_key_selector in read api * allow shard_keys * regen async * fix tests * type checker * type checker * tests for custom sharding * async * review fixes * review fixes * review fixes

Commit:016032c
Author:Arnaud Gourlay
Committer:GitHub

Sparse vectors API and local mode (#378) * draft * thread sparse_vectors_config through * test ingest sparse data * make async_client consistent for create collection * regen async * align client hierarchy * do not give up * disable async consistency check for now * regen * workaround async client breakage * generate gRPC * new healtcheck proto files * fix gen branch * fix grpc generation - had to reinstall to downgrade grpcio * bump test docker image * wait for update when migrating * regen REST + update config * add sparse search congruence * congruence scroll sparse vectors * congruence test retrieve sparse * more sparse tests and waiting on remote * remove healthcheck service * misc * reinstate len check * fix scoring if no overlap * sparse distance as numpy float without rounding * fix payload selector * fix payload exclude * dedicated collection name to not collide with openapi engine tests * fix with_vector, scoring no overlap, closeness assetion * convert float only once * regen gRPC to exclude health_check * code review cleanup * validate and sort sparse vector before persistence * regen REST * test deletes and update with fix * fix async client * fix batch size * fix async client * don't give up * remove validated todo * fix sparse vectors loading test * fix sparse vectors loading test * rm empty * mention sparse vectors in the fake local info * fix upload collection wait propagation * fix async. init_from tests * resync async * rework test sparse vector generation * regen clients * update to dev * update REST models * async client * do not change it yet * fix migration test * do not create a sparse configuration by default * fix backward compatibility by disabling serialization of none fields * fix type imports * regen gRPC * test BatchVectorStruct REST to gRPC conversion * test gRPC->REST conversion * sparse grpc tests and conversions fix * generate async client --------- Co-authored-by: generall <andrey@vasnetsov.com>

Commit:d3332ea
Author:Luis Cossío
Committer:GitHub

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