Commit Graph

187 Commits

Author SHA1 Message Date
George Panchuk
89971ccede new: update autogenerated code 2023-07-08 16:11:33 +04:00
George
ea412c4959 Fix congruence upload (#183)
* fix: fix congruence upload collection list of np.array, fix type hints

* fix: update type hints, remove broken code

* tests: delete collection after test just in case

* fix: return Dict[str, NumpyArray], support it in local mode

* fix: update type
2023-07-08 15:40:36 +04:00
Kacper Łukawski
b9a7a15cee [WIP] Enable testing on macos (#199)
* Enable testing on windows and macos

* Add platform to the name

* Add Docker on MacOS

* Temporarily disable tests on Windows

* Explicitly set ports to be opened

* Add problematic case for MacOS

* Increase the timeout in tests
2023-07-07 13:31:32 +02:00
Andrey Vasnetsov
7fa25c8e77 Include license v1.3.1 2023-06-26 14:11:06 +02:00
Andrey Vasnetsov
1ec45bd97b V1.3.0 (#194)
* wip: implement release checnges

* lookup tests

* fix mypy
v1.3.0
2023-06-23 14:52:04 +02:00
George
5fc8bb7f5f fix: fix group search with np array, add tests (#190) 2023-06-19 17:49:00 +02:00
George
76476e406e fix: set empty payload as {} instead of None (#191) 2023-06-19 17:47:41 +02:00
George
f8c7b30282 fix: fix retry mechanism (#184)
* fix: fix retry mechanism

* fix: fix mypy
2023-06-16 15:11:23 +04:00
Andrey Vasnetsov
0d3448c9af fix parsing of localhost:6333 as url 2023-06-09 19:12:27 +02:00
George
a3778e4230 new: add grpc endpoints (#176)
* new: add grpc endpoints

* fix: fix payload index conversions

* fix: fix payload schema fixtures, vector param conversion

* fix: fix collection info conversion

* refactoring: remove ipdb
2023-06-09 18:38:00 +02:00
George
4c48dcd245 fix: add optimizers_config, deprecate optimizer_config in update_collection (#186)
* fix: add optimizers_config, deprecate optimizer_config in update collection

* allow `optimizer_config` without warning

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2023-06-09 17:58:04 +02:00
George
b350c2c2d9 new: assert for with_vector (#185)
* new: assert for with_vector

* new: assert kwargs is empty

* fix: fix kwargs in count and scroll tests
2023-06-09 16:36:08 +02:00
Andrey Vasnetsov
d42bd635e4 test for empty vectors 2023-06-08 23:56:43 +02:00
David Sertic
0c5d9c4a41 fix quickstart link in readme (#180) 2023-06-01 17:12:37 +02:00
George
f9949ba4c7 Fix local upload collection (#158)
* fix: fix upload collection with id or payload generators

* tests: add test for local upload collection
2023-05-30 12:51:23 +04:00
George
7a0a790b4d fix: close gracefully if connection was interrupted on server side (#177) 2023-05-30 12:50:53 +04:00
Andrey Vasnetsov
329b4150cf v1.2.0 (#173)
* wip: interface for new APIs

* upd docker version

* remove duplicated comments + extent interface

* start implementing remote client + remove duplicated comments there

* implement remote methods

* quantization converter

* extend coverege

* wip: saving and loading of optional vectors

* update and delete vectors test

* rm unused imports

* nested filters

* fix mypy

* fix pyright

* wip: add search groups and recommend groups (#174)

* wip: add search groups and recommend groups

* fix: fix signature

* fix: fix mypy

* simplify group-by and condition checks

* fix tests

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>

* add match except condition + improve group-by tests

* fix: lock typing exchanges due to broken release

* tests: add maybe and maybe_null checks to group tests

* new: add new methods to type stubs

---------

Co-authored-by: George <george.panchuk@qdrant.tech>
v1.2.0
2023-05-24 11:06:10 +02:00
Tim Visée
d2b2a996e9 Make gRPC client message size unlimited (#172) 2023-05-17 09:47:59 +02:00
Andrey Vasnetsov
b9b8d96aa9 v1.1.7 v1.1.7 2023-05-09 17:39:50 +02:00
Andrey Vasnetsov
071b190573 test for large vectors persistence (#167)
* test for large vectors persistence

* large vectors for tests

* use sqlite for persistence

* mypy + migration error reporting

* fix sphinx version

* Local persistence test fixes (#169)

* Reload the collections to support multiple clients

* Extend the test_local_persistence.py with assertions

* prevent parallel access

* fix types

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>

---------

Co-authored-by: Kacper Łukawski <kacperlukawski@users.noreply.github.com>
2023-05-09 17:38:17 +02:00
Andrey Vasnetsov
c309d1bf8f readme + version v1.1.6 2023-04-26 00:03:19 +02:00
Andrey Vasnetsov
2650c350ac expose raw async grpc client (#159)
* expose raw async grpc client

* fix intercepters in async channels
2023-04-25 23:51:06 +02:00
Andrey Vasnetsov
b68cbd5e79 fix typing 2023-04-20 11:35:20 +02:00
Andrey Vasnetsov
6c31b1b9bd allow api key with http v1.1.5 2023-04-19 16:27:32 +02:00
Kacper Łukawski
cf6e4e306b Update README.md with an absolute image path (#153)
The relative path to the "Try-Develop-Deploy" image was not working correctly on pypi.org: https://pypi.org/project/qdrant-client/
2023-04-14 08:48:31 +02:00
Kacper Łukawski
b788024510 Fix MatchText filters in local mode (#154)
* Fix MatchText filters in local mode

I fixed the case when a particular payload does not have a corresponding attribute. In such a case, we have `value = None`, and the condition ends with `TypeError: argument of type 'NoneType' is not iterable`

* Check if value is not None
2023-04-14 08:45:01 +02:00
Andrey Vasnetsov
ddede52acc redundent test 2023-04-13 10:51:14 +02:00
Andrey Vasnetsov
c6db1e092d upd to qdrant v1.1.1 + fix isEmpty in local mode (#152)
* upd to qdrant v1.1.1 + fix isEmpty in local mode

* fix mypy
v1.1.4
2023-04-11 20:33:00 +02:00
Kacper Łukawski
d301ce010f Fix inconsistencies between local and remote modes (#151)
* Fix some inconsistencies between local and remote

* Test updating collection params (remote only)
2023-04-11 13:28:22 +02:00
Andrey Vasnetsov
8afc8d6d31 fix collections test 2023-04-10 15:47:19 +02:00
Andrey Vasnetsov
9ec4136e8f fix get_collections in local mode v1.1.3 2023-04-08 16:50:39 +02:00
Kacper Łukawski
3e031863b1 Bump version to 1.1.2 2023-04-07 14:34:20 +02:00
Kacper Łukawski
c0b70337a2 Merge pull request #148 from qdrant/qdrant-local-uuids
Fix: using uuids in batch upsert for local mode
2023-04-07 14:30:50 +02:00
Andrey Vasnetsov
d784afaff6 add test 2023-04-07 14:12:04 +02:00
Kacper Łukawski
8d705a3a2a Use point id instead of the numerical index 2023-04-07 13:52:53 +02:00
George
caa3781c80 fix: fix f-string in exception (#145) 2023-04-05 20:54:15 +04:00
Andrey Vasnetsov
7fe659bb1c colab example 2023-03-31 00:17:22 +02:00
Andrey Vasnetsov
aa5a1a36e2 up version v1.1.1 2023-03-30 23:21:29 +02:00
Andrey Vasnetsov
3a0141aba6 fix pypi link 2023-03-30 23:04:27 +02:00
Andrey Vasnetsov
843edd1299 pipy badge 2023-03-30 23:03:07 +02:00
Andrey Vasnetsov
fd3d997c64 update url 2023-03-30 21:57:16 +02:00
Andrey Vasnetsov
0e88c48854 wip: universal entry point (#142)
* wip: universal entry point

* init entry points

* fix types

* fix types

* fix types

* fix types

* rename qdrant_impl to _client

* upd readme

* big picture

* fix wording
2023-03-30 21:40:28 +02:00
Andrey Vasnetsov
392e3b6d1f Local qdrant (#137)
* base class for qdrant

* WIP: implement local qdrant client

* fix mypy

* fix mypy

* search tests

* search tests

* fix mypy

* scroll test

* filters: fixtures, tests, and fixes

* fix types

* fix types

* fix types

* fix: fix local CollectionInfo, add __test__ to avoid pytest complaints, fix typo

* fix: fix typo in import

* tests: add local upload tests (#139)

* new: make local collection info more similar to remote one

* new: add local upsert tests

* tests: moved compare collections

* scroll tests

* recommendations test

* tests: fix vector comparison in utils, add retrieve tests

* fix: fix types

* persistence test

* fix: fix types

* fix: fix db path creation

* tests: add delete points tests, refactoring (#140)

* skip local tests on old version

* test aliases

* test count

* tests: add delete payload tests, move set and overwrite payload tests

* tests: fix pytest warning

* cover some more stuff with tests

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2023-03-28 14:57:05 +02:00
Andrey Vasnetsov
8840f2b5bf V1.1.0 (#134)
* WIP: generate models and conversions

* update quantization param + match any condition + test

* update versions

* consistent naming

* use old grpc types generator

* fix: update type hints

* disable match-any in backward comp test

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
v1.1.0
2023-03-17 20:06:10 +01:00
Andrey Vasnetsov
3ef675f573 upd to v1.0.5 v1.0.5 2023-03-12 14:48:34 +01:00
Andrey Vasnetsov
b9ae526f03 add check for http in host param 2023-03-12 14:47:51 +01:00
Andrey Vasnetsov
8100ea4d0e skip validation while converting scored points (#128) 2023-03-12 12:49:23 +01:00
Andrey Vasnetsov
1878ce7df4 Update README.md 2023-03-11 21:05:47 +01:00
George
83790184a5 Update to v1.0.4 v1.0.4 2023-03-01 21:26:15 +04:00
George
bdae392066 new: add pre-commit (#126)
* new: add pre-commit

* new: exclude auto-generated files

* new: increase black line length

* fix: fix exclude pattern

* remove default version

* apply black

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2023-03-01 21:19:46 +04:00