haystack-velesdb 3.0.1__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.
- {haystack_velesdb-3.0.1/src/haystack_velesdb.egg-info → haystack_velesdb-3.1.0}/PKG-INFO +1 -1
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/pyproject.toml +1 -1
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb/__init__.py +1 -1
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0/src/haystack_velesdb.egg-info}/PKG-INFO +1 -1
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/tests/test_document_store.py +0 -13
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/LICENSE +0 -0
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/README.md +0 -0
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/setup.cfg +0 -0
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb/document_store.py +0 -0
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb/py.typed +0 -0
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb.egg-info/SOURCES.txt +0 -0
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb.egg-info/dependency_links.txt +0 -0
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb.egg-info/requires.txt +0 -0
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb.egg-info/top_level.txt +0 -0
- {haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/tests/test_real_haystack_integration.py +0 -0
|
@@ -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])])
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb.egg-info/requires.txt
RENAMED
|
File without changes
|
{haystack_velesdb-3.0.1 → haystack_velesdb-3.1.0}/src/haystack_velesdb.egg-info/top_level.txt
RENAMED
|
File without changes
|
|
File without changes
|