mirror of
https://github.com/deepset-ai/haystack.git
synced 2025-08-30 03:16:46 +00:00

* initial draft * tests * add proposal * proposal number * reno * fix tests and usage of content and content_type * update branch & fix more tests * mypy * add docstring * fix more tests * review feedback * improve __str__ * Apply suggestions from code review Co-authored-by: Daria Fokina <daria.fokina@deepset.ai> * Update haystack/preview/dataclasses/document.py Co-authored-by: Daria Fokina <daria.fokina@deepset.ai> * improve __str__ * fix tests * fix more tests * Update haystack/preview/document_stores/memory/document_store.py --------- Co-authored-by: Daria Fokina <daria.fokina@deepset.ai>
5 lines
262 B
Python
5 lines
262 B
Python
from canals import component, Pipeline
|
|
from canals.serialization import default_from_dict, default_to_dict
|
|
from canals.errors import DeserializationError, ComponentError
|
|
from haystack.preview.dataclasses import Document, Answer, GeneratedAnswer, ExtractedAnswer
|