mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-09-07 15:23:31 +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
7 lines
127 B
Python
7 lines
127 B
Python
from haystack import Document
|
|
|
|
|
|
def test_document_data_access():
|
|
doc = Document(text="test")
|
|
assert doc.text == "test"
|