mirror of
https://github.com/deepset-ai/haystack.git
synced 2026-01-28 02:23:48 +00:00
* rename database to documentstore * move document, label, multilabel to haystack/schema.py * rename documentstore -> document_store * split indexing modules -> file_converter + preprocessor * fix order of imports * Update tutorial notebooks * fix torch version in tutorial 4
19 lines
553 B
Python
19 lines
553 B
Python
import logging
|
|
|
|
import pandas as pd
|
|
from haystack.schema import Document, Label, MultiLabel
|
|
from haystack.finder import Finder
|
|
|
|
pd.options.display.max_colwidth = 80
|
|
|
|
logger = logging.getLogger(__name__)
|
|
|
|
logging.getLogger('farm').setLevel(logging.WARNING)
|
|
logging.getLogger('farm.utils').setLevel(logging.INFO)
|
|
logging.getLogger('farm.infer').setLevel(logging.INFO)
|
|
logging.getLogger('transformers').setLevel(logging.WARNING)
|
|
logging.getLogger('farm.eval').setLevel(logging.INFO)
|
|
logging.getLogger('farm.modeling.optimization').setLevel(logging.INFO)
|
|
|
|
|