From 3b9a60b377d049dc0601be5ae3f88f9c9c9dc72b Mon Sep 17 00:00:00 2001 From: "David S. Batista" Date: Wed, 2 Oct 2024 15:26:05 +0200 Subject: [PATCH] adding missing import (#8435) --- haystack/components/converters/markdown.py | 1 + 1 file changed, 1 insertion(+) diff --git a/haystack/components/converters/markdown.py b/haystack/components/converters/markdown.py index 961a85168b..c983ef212f 100644 --- a/haystack/components/converters/markdown.py +++ b/haystack/components/converters/markdown.py @@ -28,6 +28,7 @@ class MarkdownToDocument: Usage example: ```python from haystack.components.converters import MarkdownToDocument + from datetime import datetime converter = MarkdownToDocument() results = converter.run(sources=["path/to/sample.md"], meta={"date_added": datetime.now().isoformat()})