haystack-velesdb 3.0.0__tar.gz → 3.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haystack-velesdb
3
- Version: 3.0.0
3
+ Version: 3.1.0
4
4
  Summary: Haystack 2.x DocumentStore for VelesDB: The Local AI Memory Database.
5
5
  Author-email: VelesDB Team <contact@wiscale.fr>
6
6
  License: MIT
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "haystack-velesdb"
7
- version = "3.0.0"
7
+ version = "3.1.0"
8
8
  description = "Haystack 2.x DocumentStore for VelesDB: The Local AI Memory Database."
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -3,4 +3,4 @@
3
3
  from haystack_velesdb.document_store import VelesDBDocumentStore
4
4
 
5
5
  __all__ = ["VelesDBDocumentStore"]
6
- __version__ = "3.0.0"
6
+ __version__ = "3.1.0"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: haystack-velesdb
3
- Version: 3.0.0
3
+ Version: 3.1.0
4
4
  Summary: Haystack 2.x DocumentStore for VelesDB: The Local AI Memory Database.
5
5
  Author-email: VelesDB Team <contact@wiscale.fr>
6
6
  License: MIT
@@ -369,19 +369,6 @@ def test_filter_documents_returns_all_when_none() -> None:
369
369
  assert len(store.filter_documents()) == 2
370
370
 
371
371
 
372
- def test_filter_documents_passes_filter_to_scroll() -> None:
373
- store = _MOD.VelesDBDocumentStore(path="/tmp/hs", collection_name="t_filter_arg")
374
- store.write_documents([
375
- Document(id="fa", content="alpha", embedding=[0.1]),
376
- ])
377
- # A real Haystack 2.x filter shape — the fake scroll ignores the
378
- # translated VelesDB filter, but this exercises the translator end-to-end.
379
- results = store.filter_documents(
380
- filters={"field": "meta.source", "operator": "==", "value": "wiki"}
381
- )
382
- assert len(results) == 1
383
-
384
-
385
372
  def test_scale_score_not_applied_for_non_cosine_metric() -> None:
386
373
  store = _MOD.VelesDBDocumentStore(path="/tmp/hs", collection_name="t_score_nc", metric="euclidean")
387
374
  store.write_documents([Document(id="z", content="raw", embedding=[1.0])])