Configurable filters (#58)

* add configurable filters

* hello to hr department

* rollback debug code

* add arbitrary filter

* dont consider fields without conditions

* in and except condition

* proper annotation types for optional and list fields

* fix types import

* skip non-required fields

* fix: fix match except condition, fix boolean filter

* fix: apply ruff

* fix: make condition optional in filterable field

* fix: do not set default value for required fields (#63)

* fix: do not set default value for required fields

* fix: temp fix fastmcp to <2.8.0 cause of the breaking changes in the api

* fix: add missing changes to pyproject.toml

* fix: downgrade fastmcp even further to <2.7.0

---------

Co-authored-by: George Panchuk <george.panchuk@qdrant.tech>
Co-authored-by: George <panchuk.george@outlook.com>
This commit is contained in:
Andrey Vasnetsov
2025-06-11 16:19:18 +02:00
committed by GitHub
parent 244139beb5
commit b657656363
7 changed files with 1422 additions and 558 deletions

View File

@@ -9,7 +9,7 @@ dependencies = [
"fastembed>=0.6.0",
"qdrant-client>=1.12.0",
"pydantic>=2.10.6",
"fastmcp>=2.5.1",
"fastmcp>=2.5.1,<2.7.0",
]
[build-system]
@@ -18,6 +18,7 @@ build-backend = "hatchling.build"
[tool.uv]
dev-dependencies = [
"ipdb>=0.13.13",
"isort>=6.0.1",
"mypy>=1.9.0",
"pre-commit>=4.1.0",