diff --git a/haystack/components/converters/azure.py b/haystack/components/converters/azure.py index 4c34b64782..c9be3a8a96 100644 --- a/haystack/components/converters/azure.py +++ b/haystack/components/converters/azure.py @@ -109,7 +109,11 @@ def __init__( # pylint: disable=too-many-positional-arguments self.threshold_y = 0.05 @component.output_types(documents=list[Document], raw_azure_response=list[dict]) - def run(self, sources: list[Union[str, Path, ByteStream]], meta: Optional[list[dict[str, Any]]] = None): + def run( + self, + sources: list[Union[str, Path, ByteStream]], + meta: Optional[Union[dict[str, Any], list[dict[str, Any]]]] = None, + ): """ Convert a list of files to Documents using Azure's Document Intelligence service.