Skip to content

Commit

Permalink
Add ByteStream and ChatMessage to Haystack init
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-risch authored Dec 11, 2023
1 parent 820d9c3 commit 128f079
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions haystack/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from haystack.core.serialization import default_from_dict, default_to_dict
from haystack.core.errors import DeserializationError, ComponentError
from haystack.pipeline import Pipeline
from haystack.dataclasses import Document, Answer, GeneratedAnswer, ExtractedAnswer
from haystack.dataclasses import Answer, ByteStream, ChatMessage, Document, ExtractedAnswer, GeneratedAnswer


__all__ = [
Expand All @@ -12,8 +12,10 @@
"DeserializationError",
"ComponentError",
"Pipeline",
"Document",
"Answer",
"GeneratedAnswer",
"ByteStream",
"ChatMessage",
"Document",
"ExtractedAnswer",
"GeneratedAnswer",
]

0 comments on commit 128f079

Please sign in to comment.