haystack/e2e/preview/conftest.py
Julian Risch 67780a62d5
test: Add end-to-end test for dense doc search 2.0 (#6102)
* draft e2e test for dense doc search

* fix import path

* add DocumentJoiner

* update converter import; fix getting filled doc store

* add text embedder

* add sample txt and pdf for preview e2e tests

* run the query pipeline before serializing

* define samples path

---------

Co-authored-by: Stefano Fiorucci <44616784+anakin87@users.noreply.github.com>
Co-authored-by: ZanSara <sara.zanzottera@deepset.ai>
2023-11-23 16:59:02 +01:00

12 lines
203 B
Python

from pathlib import Path
import pytest
from haystack.preview.testing.test_utils import set_all_seeds
set_all_seeds(0)
@pytest.fixture
def samples_path():
return Path(__file__).parent / "samples"