From 534d1b13c3f049b5390041d87056c2ad6b563dc4 Mon Sep 17 00:00:00 2001 From: Corentin Meyer Date: Mon, 5 Feb 2024 09:55:59 +0100 Subject: [PATCH] update meta docstrings --- .../components/converters/unstructured/converter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/unstructured/src/haystack_integrations/components/converters/unstructured/converter.py b/integrations/unstructured/src/haystack_integrations/components/converters/unstructured/converter.py index 675514c83..188dd9e6e 100644 --- a/integrations/unstructured/src/haystack_integrations/components/converters/unstructured/converter.py +++ b/integrations/unstructured/src/haystack_integrations/components/converters/unstructured/converter.py @@ -105,8 +105,8 @@ def run( This value can be either a list of dictionaries or a single dictionary. If it's a single dictionary, its content is added to the metadata of all produced Documents. If it's a list, the length of the list must match the number of paths, because the two lists will be zipped. - Please note that if the paths contain directories, the length of the meta list must match - the actual number of files contained. + Please note that if the paths contain directories, meta can only be a single dictionary + (same metadata for all files). Defaults to `None`. """ paths_obj = [Path(path) for path in paths]