Commit Graph
12 Commits
Author SHA1 Message Date
Kacper ŁukawskiandGeorge Panchuk c7f221e2a4 Fix cosine normalization (#213)
* Enable vectors comparison in tests (round to 1e-3)

* Normalize vectors if cosine distance is used

* fix: compare scroll results

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
2023-07-23 00:06:18 +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
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
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
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
Kacper Łukawski 71f73c271f Merge pull request #90 from qdrant/readme-insert-example
Add an example of inserting points into the README
2023-01-20 08:30:27 +01:00
Kacper Łukawski 1ceff1d67d Fix text schema type conversion (gRPC->REST) (#76)
The `grpc.PayloadSchemaType.Text` was not correctly converted to the corresponding REST type. That was leading to an exception:

```ValueError: invalid PayloadSchemaType model: 5```
2022-10-21 17:50:59 +02:00
Kacper Łukawski ebb49376e4 Add LICENSE (#75)
Add missing Apache 2.0 license
2022-09-30 19:42:37 +02:00
Kacper ŁukawskiandAndrey Vasnetsov a7153c28a5 Upgrade typing-extensions to ^4.0.0 (#57)
* Upgrade typing-extensions to ^4.0.0

* Run the integration tests on different python versions

* upd pytest

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2022-08-08 14:11:29 +02:00
Kacper Łukawski e213cb2904 Update README.md (#53)
* Update README.md

Add distance parameter, as it is required in the current version

* Use enum instead of string for distance

The example in README used string for a distance function. That has been changed to enum, as suggested.
2022-08-08 11:34:30 +02:00
Kacper Łukawski 85f025a04a Remove print statement (#47)
The current version displays the request body while trying to recreate the collection. That breaks the stdout content.
2022-06-27 15:06:39 +02:00