mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-02 21:03:22 +00:00
20 lines
823 B
Python
20 lines
823 B
Python
![]() |
def test_module_imports():
|
||
|
from haystack import Finder
|
||
|
from haystack.database.sql import SQLDocumentStore
|
||
|
from haystack.indexing.cleaning import clean_wiki_text
|
||
|
from haystack.indexing.io import write_documents_to_db, fetch_archive_from_http
|
||
|
from haystack.reader.farm import FARMReader
|
||
|
from haystack.reader.transformers import TransformersReader
|
||
|
from haystack.retriever.tfidf import TfidfRetriever
|
||
|
from haystack.utils import print_answers
|
||
|
|
||
|
assert Finder is not None
|
||
|
assert SQLDocumentStore is not None
|
||
|
assert clean_wiki_text is not None
|
||
|
assert write_documents_to_db is not None
|
||
|
assert fetch_archive_from_http is not None
|
||
|
assert FARMReader is not None
|
||
|
assert TransformersReader is not None
|
||
|
assert TfidfRetriever is not None
|
||
|
assert print_answers is not None
|