Roman Titov
8f7aa023db
Qdrant Edge Python release CI workflow ( #7562 )
2025-12-17 14:19:26 +01:00
Luis Cossío
e1b38e1723
[feedback query] Rename to Naive strategy ( #7756 )
...
* Rename to `Naive` strategy. Remove generic `TStrategy`
* refactor in async_raw_scorer too
* review nit
2025-12-16 15:17:25 -03:00
Roman Titov
ed368f51fc
Implement __repr__ for Qdrant Edge types (Part 3) ( #7744 )
2025-12-16 10:20:33 +01:00
dependabot[bot]
3dcd02af22
build(deps): bump derive_more from 2.0.1 to 2.1.0 ( #7776 )
...
Bumps [derive_more](https://github.com/JelteF/derive_more ) from 2.0.1 to 2.1.0.
- [Release notes](https://github.com/JelteF/derive_more/releases )
- [Changelog](https://github.com/JelteF/derive_more/blob/master/CHANGELOG.md )
- [Commits](https://github.com/JelteF/derive_more/compare/v2.0.1...v2.1.0 )
---
updated-dependencies:
- dependency-name: derive_more
dependency-version: 2.1.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-16 09:13:37 +01:00
Roman Titov
8764454837
Implement __repr__ for Qdrant Edge types (Part 2) ( #7742 )
...
* Implement `__repr__` for `PyJsonPath`
* Implement `__repr__` for `PyFilter`
* Implement `__repr__` for `PyQuery`
* Implement `__repr__` for `PyQueryRequest`
* Implement `__repr__` for `PySearchRequest`
* Implement `__repr__` for `PyFilter` using `pyclass_repr` attribute
* Implement `__repr__` for `PyQuery` using `pyclass_repr` attribute
* Implement `__repr__` for `PyQueryRequest` using `pyclass_repr` attribute
* Implement `__repr__` for `PySearchRequest` using `pyclass_repr` attribute
2025-12-16 03:27:57 +01:00
Roman Titov
1bf968bd10
Implement __repr__ for Qdrant Edge types ( #7695 )
...
* Refactor `PyUpdateOperation` constructors
* Add default parameters to `PyVectorDataConfig::new`
* Add `Repr` trait and `WriteExt` helper
* Implement `__repr__` for config types
* fixup! Implement `__repr__` for config types
Use `Copy` instead of `Clone`
* fixup! Implement `__repr__` for config types
Add basic test
* Implement `__repr__` for `PyPointId`
* Implement `__repr__` for `PyVector`
* Implement `__repr__` for `PyVectorInternal`
* Implement `__repr__` for `PyPayload`
* Implement `__repr__` for `PyValue`
* Implement `__repr__` for `PyPoint`
* Implement `__repr__` for `PyPointVectors`
* Implement `__repr__` for `PyRecord`
* Move `PyScoredPoint` into a separate file
* Implement `__repr__` for `PyScoredPoint`
* Cleanup examples
* fixup! Implement `__repr__` for `PyScoredPoint`
* Move `PyOrderValue` into separate file
* Add `PyScoredPoint::order_value`
* Implement `pyclass_repr` proc-macro attribute
* Implement `__repr__` for config types using `pyclass_repr` attribute
* Implement `__repr__` for `PySparseVector` using `pyclass_repr` attribute
* Implement `__repr__` for `PyPoint` using `pyclass_repr` attribute
* Implement `__repr__` for `PyPointVectors` using `pyclass_repr` attribute
* Implement `__repr__` for `PyRecord` using `pyclass_repr` attribute
* Implement `__repr__` for `PyScoredPoint` using `pyclass_repr` attribute
* Minor fixes and cleanups
* fixup! Minor fixes and cleanups
* rollback copy for quantization config
* rollback copy for quantization config
---------
Co-authored-by: generall <andrey@vasnetsov.com >
2025-12-16 02:17:37 +01:00
dependabot[bot]
a93c194899
build(deps): bump pyo3 from 0.27.1 to 0.27.2 ( #7725 )
...
Bumps [pyo3](https://github.com/pyo3/pyo3 ) from 0.27.1 to 0.27.2.
- [Release notes](https://github.com/pyo3/pyo3/releases )
- [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md )
- [Commits](https://github.com/pyo3/pyo3/compare/v0.27.1...v0.27.2 )
---
updated-dependencies:
- dependency-name: pyo3
dependency-version: 0.27.2
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-08 20:34:59 +01:00
Roman Titov
bc7b76c0db
Qdrant Edge Python bindings improvements (Part 2) ( #7639 )
2025-12-04 12:02:21 +01:00
Roman Titov
5ba7ac8ee8
Qdrant Edge Python bindings improvements ( #7561 )
...
* Use anonymous lifetime in `FromPyObject` implementations
* Use `PyResult` in `IntoPyObject` implementations
* Cleanup imports and derives
* Cleanup `filter` conversions
* Add `PointVectors` getters
* Move `config` module into sub-directory
* Split `config` into sub-modules
* Simplify enum bindings
* Add zero-cost conversions for `PyVectorDataConfig` and `PySparseVectorDataConfig`
* Add getters to config structures
* fixup! Add getters to config structures
More zero-cost conversions for `PyVector*DataConfig`
* Implement `PyHnswIndexConfig`
* Implement `PyQuantizationConfig`
* fixup! Simplify enum bindings
* fixup! Implement `PyHnswIndexConfig`
* fixup! Implement `PyHnswIndexConfig`
* fixup! Implement `PyHnswIndexConfig`
* Implement `PySparseVectorDataConfig`
* fixup! Implement `PySparseVectorDataConfig`
* fixup! Implement `PySparseVectorDataConfig`
2025-11-26 18:47:17 +01:00
Andrey Vasnetsov
65312a1e82
implement shard key init state in grpc ( #7522 )
...
* implement shard key init state in grpc
* Update lib/api/src/grpc/proto/collections.proto
Co-authored-by: Tim Visée <tim+github@visee.me >
* sync grpc autogen
---------
Co-authored-by: Tim Visée <tim+github@visee.me >
2025-11-12 15:05:17 +01:00
Arnaud Gourlay
365dc743b7
Bump Pyo3 to 0.27.1 for Edge ( #7519 )
2025-11-12 11:26:14 +01:00
Andrey Vasnetsov
cff49b8f19
Fusion & MMR support in Edge ( #7491 )
...
* introduce rescore stage to handle fusion in shard properly
* make shard-stage and collection-stage rescoring explicit
* review fixes
2025-11-11 00:04:56 +01:00
Roman Titov
6bca83c568
Cleanup edge_py::types::filter module ( #7490 )
...
Co-authored-by: generall <andrey@vasnetsov.com >
2025-11-10 17:44:12 +01:00
Arnaud Gourlay
fc86e1dd0b
Try fixing Dependabot ( #7509 )
...
* Try fixing Dependabot
* oh come on
2025-11-10 16:29:19 +01:00
Arnaud Gourlay
8ad34865cb
Fix missing workspace lints ( #7507 )
2025-11-10 14:08:07 +01:00
Roman Titov
5c1adde0c6
Implement PyQuery conversions ( #7481 )
...
* Rename `PyVectorType` into `PyNamedVector` 😠
* Move `PyQuery` into `types::query`
* Implement `PyQuery` conversions
* Use `bytemuck` to safely transmute between `edge-py` wrapper types (#7488 )
2025-11-01 22:37:14 +01:00
Roman Titov
10f3901b39
Improvements to Qdrant Edge Python bindings ( #7473 )
...
* Cleanup `examples/qdrant-edge.py`
* Cleanup `edge_py::types::vector` module
* Cleanup `edge_py::types::filter::condition` module
* Extend `PyWithPayload` type
* Use `from` instead of `into` for conversions
* Assert variants for enum conversions
2025-10-31 10:28:20 +01:00
Roman Titov
f107ee9eb7
Implement edge_py::Shard::query ( #7465 )
2025-10-29 13:27:54 +01:00
xzfc
6c4ad118d1
Misc edge dev env fixes ( #7456 )
2025-10-25 10:48:18 +02:00
xzfc
67db9ff241
Expose AcornSearchParams to edge Python bindings ( #7455 )
2025-10-25 10:46:33 +02:00
xzfc
c1c9eb9ddb
Add ACORN-1 search ( #7414 )
...
* GraphLayersBase::try_for_each_link
* Add FilteredScorer::score_points_unfiltered
* Add GraphLayersBase::search_on_level_acorn()
* Add SearchParams::acorn API parameter
* Integrate ACORN to HNSW search
* Add doc
* review fixes
* Misc fixes
---------
Co-authored-by: generall <andrey@vasnetsov.com >
2025-10-24 19:09:21 +00:00
Andrey Vasnetsov
29a1197c4e
derive Eq for Filter (and underlying types) ( #7419 )
...
* derive Eq for Filter (and underlying types)
* fix tests
* use ptr to compare and hash CustomIdChecker
* fix gpu test
* fmt
* use OrderedFloat directly
* post-rebase fixes
* fmt
---------
Co-authored-by: Luis Cossío <luis.cossio@outlook.com >
2025-10-20 17:27:03 +02:00
Andrey Vasnetsov
75434ca565
implement all point update operation constructors ( #7424 )
2025-10-20 12:39:01 +02:00
Andrey Vasnetsov
56a9610e32
edge filter conversions ( #7423 )
...
* initial filter conversion structure
* implement match conditions
* implement range condition
* implement filter condition
* implement geo conditions
* fmt
* finish field conditions
* implement more conditions
* implement nested + expose python exports
* fix spelling
2025-10-20 10:36:12 +02:00
Andrey Vasnetsov
4c95682908
rollback pyvector implementation ( #7422 )
2025-10-19 19:06:13 +02:00
Roman Titov
e7fe24bb1b
More type conversion for Qdrant on Edge Python bindings ( #7372 )
...
* Cleanup `edge::Shard::retrieve`
* Cleanup Python errors
* Cleanup `PointId` conversions
* Rename `ids` into `point_ids` in `PyShard::retrieve`
* WIP: Prototype native conversions for more types
2025-10-10 19:56:05 +02:00
Roman Titov
8141173029
Type conversions into native Python types for Qdrant on Edge ( #7367 )
...
* Cleanup README.md
* Rename `PyResult` into `Result`
* Rename `interface` module into `types` and simplify imports
`wildcard::goes::brrr::*`
* Add `PointId` conversion
* Add `Payload` conversion
* fixup! Add `Payload` conversion
Avoid cloning `Payload` for output conversion
* fixup! Add `PointId` conversion
Fix example
* review fixes #1 : fix uuid parsing, avoid .into, use custom types
* review fixes #2 : rewrite point id to avoid chain if
* review fixes #3 : allow ot use uuid + remove comment
---------
Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com >
2025-10-09 19:19:56 +02:00
Andrey Vasnetsov
96821e0376
edge retrieve api ( #7344 )
...
* refactor: move RecordInternal into Shard crate
* refactor: move retrieve_blocking into Shard crate
* implement retrieve method + move some structures into dedicated files
2025-10-06 19:59:43 +02:00
Roman Titov
4f3855a32c
WIP: Extend Qdrant Edge Python bindings ( #7343 )
2025-10-03 13:14:35 +02:00
Roman Titov
1004b93ae5
Python bindings for Qdrant on Edge ( #7312 )
...
* Qdrant Edge Python binding 🐍 ⛓️ 💥
* fixup! Qdrant Edge Python binding 🐍 ⛓️ 💥
Fix example + cleanup
* review: move QueryEnum + mark search as deprecated
---------
Co-authored-by: generall <andrey@vasnetsov.com >
2025-10-03 12:48:26 +02:00