Commit Graph
100 Commits
Author SHA1 Message Date
George Panchuk f9bdad7cf4 fix: remove enter/exit, add conversion tests 2026-09-15 07:35:03 +02:00
George eea902d43a fix: fix mypy complain about geo coordinates type (#1435) 2026-09-14 23:43:21 +07:00
George d9a49fad15 new: token aware match any in local mode (#1419) 2026-09-11 16:20:12 +07:00
George 5e689ffce8 fix: fix start from with date object (#1418) 2026-09-11 04:44:13 +07:00
GeorgeandNimra Khalid 977fda4fc9 fix: naive datetime in order by (#1417)
* fix: naive datetime in order by

* fix: fix exact datetime precision

Co-Authored-By: Nimra Khalid <nimra3261@gmail.com>
2026-09-11 04:14:54 +07:00
George e5e26b863f fix: do not accept empty vectors and multivectors in local mode (#1405)
* fix: do not accept empty vectors and multivectors in local mode

* fix: do not modify points if vector does not pass validation
2026-09-04 17:21:08 +07:00
GeorgeandClaude Opus 5 df683c7524 fix(local): match core's MMR tie-breaking (#1402)
* fix(local): match core's MMR tie-breaking

Local mode ordered MMR results differently from core whenever two
candidates tied exactly, on relevance or on MMR score. The MMR score
itself was already correct; the selection rules around it were not:

* the first point was seeded from `candidate_ids[0]`, i.e. whatever
  `search` happened to return first, instead of the most relevant
  candidate;
* `np.argmax` picked the *first* maximum, while core's `max_by_key`
  returns the *last* one on ties;
* pending candidates were kept in an order-preserving list, while core
  holds them in an `IndexSet` and drops the selected one with
  `swap_remove`, which moves the last candidate into the freed slot and
  therefore changes the order candidates are visited in - and so which
  one wins a tie.

Reproduce the three rules in `_mmr`. The divergence was spotted on a
MAX_SIM multivector field with DOT, but it is specific to neither:
plain dense vectors and EUCLID diverge the same way once an exact tie
is constructed.

The added congruence tests keep relevance scores distinct on purpose:
core orders equally relevant candidates by search order, which is not
stable, so only ties in the MMR score can be asserted on.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>

* refactor: move utils from collection, move tests

* tests: update comments

---------

Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
2026-09-04 13:40:43 +07:00
George 51d048aa20 fix: accept a bare point id as a prefetch query in local mode (#1401) 2026-09-04 00:49:47 +07:00
George 20cc4e19e9 fix: fix missing multivector placeholder in local mode (#1399)
* fix: fix missing multivector placeholder in local mode

* fix: do not use deleted vectors in recommend, etc

* fix: fix mypy complaints in point id vector resolution

* fix: regen async
2026-09-04 00:35:45 +07:00
George febf08859d fix: fix local single prefetch (#1397) 2026-09-02 18:54:34 +07:00
George 4e3932a513 fix: fix is_integer usage in local mode formula api (#1398) 2026-09-02 18:38:39 +07:00
Georgeand2sumtech eb91d89c3f fix: fix shard key selector usage in update payload methods (#1364)
Co-authored-by: 2sumtech <2sumtech@gmail.com>
2026-08-20 20:31:15 +07:00
George 0aeaf787c9 new: add dependabot config (#1314) 2026-08-04 23:36:03 +07:00
George 9c71f9949b new: bump to 1.19.1-dev (#1313) 2026-08-04 23:06:27 +07:00
George 206273d9bb fix: fix nested payload local mode (#1312)
* fix: fix nested payload local mode

* test: update test data in complex filter
2026-08-04 19:58:52 +07:00
George 272d7a9e47 deprecate: remove max_disk_usage_percent, deprecate max_resident_memory_percent (#1311) 2026-08-04 17:38:02 +07:00
George 399449a6d9 new: 1.19.0 updates (#1298)
* new: 1.19.0 updates

* fix: fix search params as a dict in local mode

* fix: update qdrant backward compatibility version

* fix: add version check to the test

* fix: add version check to the test
2026-08-01 02:48:14 +07:00
George e7aecbd67a fix: add limit > 0 rules in local mode (#1281) 2026-07-24 02:22:28 +07:00
George ff30799c6d fix: fix embed paths (#1278)
* fix: fix embed paths

* tests: add local inference test for complex prefetch
2026-07-23 22:22:29 +07:00
GeorgeandHassan Zafar e59d0fd58e fix: do not include local test files into the distribution (#1277)
Co-authored-by: Hassan Zafar <hassanzafar619@gmail.com>
2026-07-22 00:51:41 +07:00
GeorgeandEren Ata 6f5bff3ed6 fix: fix local mode set payload shared nested object #1271 (#1276)
Co-authored-by: Eren Ata <erena6466@gmail.com>
2026-07-22 00:29:39 +07:00
George b4713cd874 Fix env installation (#1255)
* fix: update poetry lock

* fix: add type annotations, update poetry.lock

* fix: fix local persistence tests

* fix: replace del client with client.close in local mode persistence tests

* new: update local mode values count filter behaviour
2026-07-08 17:06:02 +07:00
George 90913f8816 fix: fix persistence test in test query (#1245) 2026-06-26 16:33:08 +09:00
George e95b94487b fix: fix update vectors in local mode (#1244) 2026-06-26 14:52:30 +09:00
George 2cd064f2df fix: fix persistence in local mode multivector tests (#1243) 2026-06-26 14:27:28 +09:00
George fe0415384c fix: update poetry lock (#1242)
* fix: update poetry lock

* fix: add type annotations, update poetry.lock

* fix: fix local persistence tests

* fix: replace del client with client.close in local mode persistence tests
2026-06-26 13:41:15 +09:00
George 60ab32e2aa bump version to v1.18.1-dev (#1214) 2026-05-22 20:00:22 +07:00
George 790328b1aa new: remove add and query methods (#1210)
* new: deprecate add and query methods

* fix: update async client generator
2026-05-20 22:48:47 +07:00
George 5b73dbb755 new: check the package is importable before publish (#1207) 2026-05-19 17:23:42 +07:00
George d72554e640 new: update models to 1.18, add create_named_vector and delete_named_vector (#1201)
* new: update models to 1.18, add create_named_vector and delete_named_vector

* fix: add missing strict mode config updates

* fix: fix local mode create and delete vector name

* new: update turbo quant fields

* fix: persist vector deletion
2026-05-09 01:09:54 +07:00
George 7974c06de6 new: remove python docs in favour of qdrant.tech (#1174)
* new: remove python docs in favour of qdrant.tech

* fix: docs redirect

* fix: fix netlify

* fix: fix netlify
2026-05-06 18:38:36 +07:00
George f6964b69bd fix: fix geo bounding box filters on edges (#1190)
* fix: fix geo bounding box filters on edges

* tests: add test
2026-04-14 18:06:14 +07:00
George 1c1e1c54fc fix: fix local mode values count (#1191) 2026-04-14 18:06:00 +07:00
George c26c1e03fd new: bump fastembed to 0.8.0 (#1176) 2026-03-25 18:15:11 +07:00
GeorgeandJiangNan 57e69522ea fix: do not modify payload filters in local mode in-place (#1169)
Co-authored-by: JiangNan <1394485448@qq.com>
2026-03-13 21:42:39 +07:00
George a8100882fb new: run server version check in a thread, don't check bm25 availabil… (#1168)
* new: run server version check in a thread, don't check bm25 availability as it was introduced in 1.15.3

* fix: fix tests for auth

* fix: fix test for auth again

* fix: update stacklevel for in-thread warnings

* fix: fix auth token test for sync client

* tests: remove outdated tests
2026-03-13 21:42:11 +07:00
George 0a69a4c9a2 deprecate: completely replace fastembed bm25 with qdrant core bm25 in hosted qdrant (#1166)
* deprecate: completely replace fastembed bm25 with qdrant core bm25

* fix: fix param name in embedder, accept lower case bm25 model name

* tests: enable skipped tests, add bm25 core usage tests

* fix: fix ci, run fastembed tests in integration tests

* fix: fix pip uninstall prompt

* tests: log message when running tests wo fastembed
2026-03-13 01:23:44 +07:00
George ee813f71e7 fix: fix type hint union with grpc enum with old protobuf (#1157)
* fix: fix type hint union with grpc enum with old protobuf

* fix: add type ignore
2026-03-10 13:44:54 +07:00
George e84db54f98 bump version to v1.17.1-dev (#1158) 2026-03-05 17:35:24 +07:00
63f69540a6 Update models 1.17 (#1154)
* new: update models, add conversions, add conversion tests

* new: add list shard keys, add get_optimizations

* new: add weights to rrf

* new: add cluster telemetry

* new: add update_mode usage

* fix: fix mypy

* fix: populate inspection cache

* use RRF ranking as in the core

* timeouts propagation

* gen async clients

* implement score threshold for formular

* new: add tests for update mode

* fix: fix test skip comment

* Relevance feedback local mode (#1152)

* AI: implement local computation

prompt: Considering the implementation in the server, make the local
python implementation of the same scores calculation in this file:
[@distances.py](...), consider that the local mode calculates for all
points at once, while the server does it point by point.

Server impl:
```
...
```

* use constant for MARGIN

* relevance feedback integration and test

* do not exclude relevance context from result

* Revert "do not exclude relevance context from result"

This reverts commit 9c2a5cedc0.

---------

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

* fix: fix conversion test

---------

Co-authored-by: generall <andrey@vasnetsov.com>
Co-authored-by: Luis Cossío <luis.cossio@qdrant.com>
2026-02-19 22:32:01 +07:00
George 286ae82b06 bump version to 1.16.3-dev (#1135) 2026-01-20 15:58:55 +08:00
George c7012855ef fix: propagate lookup from correctly in query_points_groups (#1133)
* fix: propagate lookup from correctly in query_points_groups

* tests: add test from lookup_from
2025-12-10 17:24:20 +07:00
Georgeandgenerall a8beff7c96 Drop python3.9 (#1110)
* new: remove vectors_count, update http and grpc models

* fix: update inspection cache

* new: add conversions and update interface

* fix: fix some conversions

* fix: fix typo

* fix: fix isinstance

* fix: regen async

* fix: fix update_filter usage, fix isinstance

* tests: collection metadata test

* fix: address backward compatibility in test

* new: update models, add max payload index count and copy vectors

* fix; update _inspection_cache

* new: add read consistency to count points

* Allow uuids in interface (#1085)

* new: direct uuid support

* tests: add uuid tests

* fix: update inspection cache

* new: add collection metadata and tests to local mode (#1089)

* new: add collection metadata and tests to local mode

* fix: regen async client

* new: implement parametrized rrf in local mode (#1087)

* new: implement parametrized rrf in local mode

* refactoring: use a variable for a magic value

* fix: adjust conversion according to AI

* Update filter (#1090)

* new: add missing update_filter, implement it in local mode

* fix: fix type hint, fix update operation, fix rest uploader, add tests

* fix: fix update filter is None case

* fix: mypy was not a good boy

* Text any filter (#1091)

* new: add match text any local mode

* tests: add match text any tests

* new: update models, remove init_from and locks (#1100)

* new: update models, remove init_from and locks

* deprecate: remove init from tests

* deprecate: remove lock tests

* new: convert ascii_folding

* fix: fix type stub

* new: convert acorn

* new: convert shard key with fallback

* new: update grpcio and grpcio tools in generator (#1106)

* new: update grpcio and grpcio tools in generator

* fix: bind grpcio and tools versions to 1.62.0 in generator

* Remove deprecated methods (#1103)

* deprecate: remove old api methods

* deprecate: remove type stub for removed methods

* deprecate: remove old api methods from test_qdrant_client

* deprecate: replace search with query points in test_in_memory

* deprecate: replace search methods in fastembed mixin with query points

* deprecate: replace old api methods in test async qdrant client

* deprecate: replace search with query points in test delete points

* deprecate: replace discover and context with query points in test_discovery

* deprecate: replace recommend_groups with query_points_groups in test_group_recommend

* deprecate: replace search_groups in test_group_search

* deprecate: replace recommend with query points in test_recommendation

* deprecate: replace search with query points in test search

* deprecate: replace context and discover with query points in test sparse discovery

* deprecate: replace search with query points in test sparse idf search

* deprecate: replace recommend with query points in test sparse recommend

* deprecate: replace search with query points in test sparse search

* deprecate: replace missing search request with query request in qdrant_fastembed

* deprecate: replace search with query points in test multivector search queries

* deprecate: replace upload records with upload points in test_updates

* deprecate: remove redundant structs (#1104)

* deprecate: remove redundant structs

* fix: do not use removed conversions in local mode

* fix: remove redundant conversions, simplify types.QueryRequest

* deprecate: replace old style grpc vector conversion to a new one (#1105)

* deprecate: replace old style grpc vector conversion to a new one

* fix: ignore union attr in conversion

* review fixes

---------

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

---------

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

---------

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

* new: deprecate add, query, query_batch in fastembed mixin (#1102)

* new: deprecate add, query, query_batch in fastembed mixin

* 1.16 -> 1.17

---------

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

---------

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

* new: yet another update

* new: add initial_state to create shard key (#1109)

* new: drop python3.9, replace union and optional with | where possible

* fix: fix missing type hints, regen async

* fix: remove redundant optional

* fix: fix ai comments

* fix: update type hints from merge

* new: update pyproject and lock

* new: replace optional and union with |

* new: remove optional and union from qdrant local

* new: replace union with | in client classes

* fix: replace remaining union, optional, etc, address review comments

* new: adjust numpy versioning

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-12-05 16:32:24 +07:00
George 20cc45fb30 new: adjust numpy versioning (#1132) 2025-12-04 11:33:20 +07:00
George 458646cb95 tests: speed up tests (#1130)
* fix: do not try to check compatibility in test_client_init

* tests: remove sparse-code vectors (10_000 dim), remove euclid recommend methods as non-applicable for sparse

* tests: add payload indexes to query group test

* debug: add durations=0 to pytest

* debug: test only test query group

* debug: try adding payload indexes to query group test

* rollback test launch
2025-12-04 11:22:46 +07:00
George 1de2ce2f23 bump to 1.16.2-dev 2025-11-25 17:48:36 +07:00
George b5ccd9ff4e new: include pyi into the package (#1121) 2025-11-24 20:04:47 +07:00
George fddf1185ae new: expose the remaining cluster methods (#1123)
* new: expose the remaining cluster methods

* fix: fix type hints

* new: add deadline info to the first hw

* fix: fix review comments
2025-11-24 20:02:44 +07:00
George 5284c02238 fix: fix local mode backward compatibility (#1124)
* fix: fix local mode backward compatibility

* chore: fix comment

* fix: fix fix
2025-11-24 19:43:17 +07:00
George fbeb023543 fix: rename common.proto to qdrant_common.proto to avoid conflicts with other libraries (#1125) 2025-11-24 18:36:42 +07:00
George 9ce7346e05 new: convert cluster operations to grpc (#1116)
* new: convert cluster operations to grpc

* fix: rollback coverage html

* fix: address ai comments

* fix: address review comments
2025-11-20 13:38:17 +07:00
George 717640f701 new: bump version to v1.16.1-dev (#1115) 2025-11-17 23:09:51 +07:00
George 14f461b02b new: update grpc (#1113)
* new: update grpc

* fix: make common_pb2 available under grpc
2025-11-14 20:20:41 +01:00
Georgeandgenerall f2e0e22a17 new: expose cluster operations (#1114)
* new: expose cluster operations

* fix: fix cluster collection update return result, add tests

* fix test

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-11-14 20:20:22 +01:00
Georgeandgenerall 27acfd0d75 new: remove vectors_count, update http and grpc models (#1069)
* new: remove vectors_count, update http and grpc models

* fix: update inspection cache

* new: add conversions and update interface

* fix: fix some conversions

* fix: fix typo

* fix: fix isinstance

* fix: regen async

* fix: fix update_filter usage, fix isinstance

* tests: collection metadata test

* fix: address backward compatibility in test

* new: update models, add max payload index count and copy vectors

* fix; update _inspection_cache

* new: add read consistency to count points

* Allow uuids in interface (#1085)

* new: direct uuid support

* tests: add uuid tests

* fix: update inspection cache

* new: add collection metadata and tests to local mode (#1089)

* new: add collection metadata and tests to local mode

* fix: regen async client

* new: implement parametrized rrf in local mode (#1087)

* new: implement parametrized rrf in local mode

* refactoring: use a variable for a magic value

* fix: adjust conversion according to AI

* Update filter (#1090)

* new: add missing update_filter, implement it in local mode

* fix: fix type hint, fix update operation, fix rest uploader, add tests

* fix: fix update filter is None case

* fix: mypy was not a good boy

* Text any filter (#1091)

* new: add match text any local mode

* tests: add match text any tests

* new: update models, remove init_from and locks (#1100)

* new: update models, remove init_from and locks

* deprecate: remove init from tests

* deprecate: remove lock tests

* new: convert ascii_folding

* fix: fix type stub

* new: convert acorn

* new: convert shard key with fallback

* new: update grpcio and grpcio tools in generator (#1106)

* new: update grpcio and grpcio tools in generator

* fix: bind grpcio and tools versions to 1.62.0 in generator

* Remove deprecated methods (#1103)

* deprecate: remove old api methods

* deprecate: remove type stub for removed methods

* deprecate: remove old api methods from test_qdrant_client

* deprecate: replace search with query points in test_in_memory

* deprecate: replace search methods in fastembed mixin with query points

* deprecate: replace old api methods in test async qdrant client

* deprecate: replace search with query points in test delete points

* deprecate: replace discover and context with query points in test_discovery

* deprecate: replace recommend_groups with query_points_groups in test_group_recommend

* deprecate: replace search_groups in test_group_search

* deprecate: replace recommend with query points in test_recommendation

* deprecate: replace search with query points in test search

* deprecate: replace context and discover with query points in test sparse discovery

* deprecate: replace search with query points in test sparse idf search

* deprecate: replace recommend with query points in test sparse recommend

* deprecate: replace search with query points in test sparse search

* deprecate: replace missing search request with query request in qdrant_fastembed

* deprecate: replace search with query points in test multivector search queries

* deprecate: replace upload records with upload points in test_updates

* deprecate: remove redundant structs (#1104)

* deprecate: remove redundant structs

* fix: do not use removed conversions in local mode

* fix: remove redundant conversions, simplify types.QueryRequest

* deprecate: replace old style grpc vector conversion to a new one (#1105)

* deprecate: replace old style grpc vector conversion to a new one

* fix: ignore union attr in conversion

* review fixes

---------

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

---------

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

---------

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

* new: deprecate add, query, query_batch in fastembed mixin (#1102)

* new: deprecate add, query, query_batch in fastembed mixin

* 1.16 -> 1.17

---------

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

---------

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

* new: yet another update

* new: add initial_state to create shard key (#1109)

* chore: remove obsolete imports

* fix: add metadata parameter to recreate collection in local

* fix: fix metadata handling in local more

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-11-14 17:01:17 +07:00
George 6b031b3262 fix: fix overriding prefetch limit in local mode (#1081)
* fix: fix overriding prefetch limit in local mode

* fix: replace recursion with a while loop in prefetch
2025-10-27 18:14:55 +07:00
George 784b27ab1c new: queryless score 1 (#1088)
* new: queryless score 1

* Reduce hf requests (#1092)

* tests: remove redundant test

* new: improve caching, reduce number of hf requests

* fix: fix possible cache_dir key error
2025-10-24 18:48:13 +07:00
George 200020f19a wip: builtin bm25 support (#1060)
* wip: builtin bm25 support

* remove debug print

* new: add builtin embedder, add server version check for inference

* fix: regen async

* fix: fix fastembed import

* fix: regen async

* tests: add tests for builtin inference

* fix: fix fastembed checks, improve exceptions
2025-09-15 16:18:41 +08:00
George 3d29466823 tests: extend remote inference tests (#1055) 2025-07-31 21:00:32 +03:00
George 5caf1cd8fa fix: fix openapi usage structure (#1053)
* fix: fix openapi usage structure

* fix: update inspection cache
2025-07-31 20:54:16 +03:00
George e4c7bfaf4f fix: fix grpc document, image, inference object without options conversion (#1052) 2025-07-31 20:41:32 +03:00
George af11ad0836 new: update poetry lock (#1047) 2025-07-18 11:07:16 +02:00
George 622377c53c new: rearrange sections in readme, add cloud inference section (#1032) 2025-07-18 00:26:03 +03:00
George dbf7f14949 fix uploading snapshot in ci (#1043)
* debug

* debug

* omg mypy

* fix: remove trap around pytest

* wip

* remove debug code
2025-07-15 18:43:53 +03:00
Georgeandgenerall e823402cf5 new: add b64 encoding function (#1031)
* new: add b64 encoding function

* tests: remove garbage

* refactor base64 function name and params

* manual test for remove iamge inference with base64

* use tempfile

* fix: rename remove_inference->remote_inference

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-07-15 18:41:58 +03:00
GeorgeandLuis Cossío 4da06b08d6 new: update models for v1.15, add conversions (#1038)
* new: update models for v1.15, add conversions

* rename SnowballParameters to SnowballParams

---------

Co-authored-by: Luis Cossío <luis.cossio@outlook.com>
2025-07-15 15:39:48 +02:00
George c1df3a7c28 tests: relax test comparison for distance matrix test (#1042) 2025-07-15 15:39:37 +02:00
Georgeandgenerall fbf72f4a31 new: relax test comparison (#1039)
* new: relax test comparison

* rollback: rollback is context search addition

* rollback: return redundant parentheses

* Sparse no overlap distance computation (#1040)

* fix: fix sparse distance computation for recommend, discovery and context queries

* fix: use empty_is_zero

* add zero case to score cmp

* add snapshot saving on failure

---------

Co-authored-by: generall <andrey@vasnetsov.com>
2025-07-15 13:30:23 +02:00
George bb7016fd4b fix: fix edge case in upsert, fix multivec update, add tests (#1030)
* fix: fix edge case in upsert, fix multivec update, add tests

* fix: fix tests
2025-07-10 13:22:52 +02:00
George b41e97416f new: update fastembed to ^0.7 (#1026)
* new: update fastembed to ^0.7

* fix: update poetry lock
2025-06-14 09:54:37 +03:00
George 7f64e4a641 new: remove python api doc link from readme (#1025) 2025-06-13 21:36:29 +04:00
George a908d95125 fix: do not inspect input with cloud inference (#1024) 2025-06-13 21:35:20 +04:00
George 808b0abb2d Fix urljoin (#996)
* fix: fix urljoin usage

* fix: do not modify rest_uri, add tests
2025-05-21 14:46:10 +04:00
George 42856424a6 new: move fastembed imports and constants into a class to support cus… (#994)
* new: move fastembed imports and constants into a class to support custom models and improve exceptions

* new: add is_supported model to FastEmbedMisc

* fix: fix types
2025-05-20 14:46:18 +04:00
GeorgeandAndrey Vasnetsov 8632844582 fix: init_options should not crush with unpickleable objects (#993)
* fix: init_options should not crush with unpickleable objects

* fix: regen async

* fix: do not deepcopy kwargs

* Update tests/test_qdrant_client.py

---------

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
2025-05-20 14:45:54 +04:00
George e32daed967 fix: fix set payload in batch update points, fix operation conversion… (#977)
* fix: fix set payload in batch update points, fix operation conversions, add tests

* new: add some checks

* add comments to test cases

* fix: return comment

* tests: uncomment test due to a fix in core
2025-05-15 19:09:13 +03:00
George a53c6aa4c1 fix: fix escape sequences (#990)
* fix: fix escape sequences

* fix: regen inspection cache
2025-05-15 14:46:59 +04:00
George 7900a7563e new: update readme, move pre-commit to pyproject.toml (#984) 2025-05-15 14:46:45 +04:00
George 7bce5f0b75 tests: catch math domain error, catch abrupted error message in remote (#989) 2025-05-14 20:08:25 +03:00
George acb33121b1 bump version to v1.4.3-dev (#972) 2025-04-25 15:58:05 +03:00
George 4cac634cb8 fix: fix local inference on list of prefetches (#965) 2025-04-24 17:28:17 +03:00
George 351b17ee63 fix: set default limit in query batch points in local mode (#967) 2025-04-24 17:16:55 +03:00
George 5afdab1c3c fix: fix bm25 search on empty collection (#966) 2025-04-24 16:52:42 +03:00
George 5c402ac3c0 bump dev to 1.4.2-dev (#961) 2025-04-24 16:52:29 +03:00
George 69b950ce05 fix: remove pytest import in prod code (#957) 2025-04-22 19:05:17 +03:00
George c803fe5145 new: update models (#956) 2025-04-22 16:54:47 +03:00
George ee2f5f451f Rethink offset prefetch (#955)
* fix: fix local mode offset in sample random

* fix: fix random sampling, do not propagate offset into prefetches

* fix: ignore offset in random sampling
2025-04-22 16:53:58 +03:00
George 6544484a0c refactor: refactor test local inference (#952) 2025-04-17 11:43:42 +03:00
George a0bbadaa08 new: support multimodal embeddings (#908)
* new: support multimodal embeddings

* fix: fix embed when model name is present in both text and image supported models

* fix: fix type checkers

* refactor: split multimodal embed into embed text and embed image

* chore: comment batch separation

* chore: rollback formatting
2025-04-15 18:11:33 +03:00
George 2afadf4cb5 fix: non-list conditions in filter clauses (#949)
* fix: non-list conditions in filter clauses

* r u happy mypy?
2025-04-15 16:43:22 +03:00
George 5c2f3e883c Remove multitask models list (#945)
* new: remove multitask embedding list

* new: update fastembed
2025-04-15 16:43:06 +03:00
George a55097ba1c new: add hf token to ci, remove redundant envs, run local inference w… (#951)
* new: add hf token to ci, remove redundant envs, run local inference w/o fastembed

* fix: fix env in ci
2025-04-15 15:06:09 +03:00
George e9b427f023 new: forbid pydantic >2.0,<2.2.1 due to bug in update_forward_refs (#943) 2025-04-07 18:44:17 +03:00
GeorgeandLuis Cossío 5a454a7402 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>
2025-04-07 11:45:33 +03:00
George 499d12ad9f fix: model fields set and model config access (#918) 2025-03-16 22:08:44 +03:00
George 6d8509afee 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
2025-03-16 19:59:55 +03:00
George ce4c51dd3c Default inference batch size (#907)
* fix: fix inference batch size propagation

* fix: propagate batch size to embed worker

* fix: fix type ignore comment

* fix: replace mocking class method with object method

* fix: add missing inference batch size

* fix: fix batch size propagation to worker
2025-02-21 12:47:57 +01:00
George 3391aa6145 Optional vectors config (#905)
* new: make vectors_config optional in create collection

* remove redundant import

* fix: allow to create a collection without vectors
2025-02-20 14:23:13 +01:00
George 8ae2c3b220 bump dev version to 1.13.3-dev (#900) 2025-02-17 09:59:26 +01:00
George bc7b955fec fix: fix poetry version constraint bug (#899)
* fix: fix poetry version constraint bug

* fix: update poetry lock
2025-02-15 22:27:45 +01:00