Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support single metadata dictionary in MarkdownToDocument #6629

Merged
merged 9 commits into from
Jan 9, 2024
Prev Previous commit
Next Next commit
unwrap list
  • Loading branch information
ZanSara committed Dec 22, 2023
commit e9042217115ad6371716121a0eaac049f40c829d
2 changes: 1 addition & 1 deletion test/components/converters/test_markdown_to_document.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def test_run_with_meta(self, test_files_path):

with patch("haystack.components.converters.markdown.MarkdownIt"):
output = converter.run(
sources=[bytestream, test_files_path / "markdown" / "sample.md"], meta=[{"language": "it"}]
sources=[bytestream, test_files_path / "markdown" / "sample.md"], meta={"language": "it"}
)

# check that the metadata from the bytestream is merged with that from the meta parameter
Expand Down
Loading