diff --git a/integrations/jina/src/haystack_integrations/components/connectors/jina/reader.py b/integrations/jina/src/haystack_integrations/components/connectors/jina/reader.py index eb53329f7..618cacb4e 100644 --- a/integrations/jina/src/haystack_integrations/components/connectors/jina/reader.py +++ b/integrations/jina/src/haystack_integrations/components/connectors/jina/reader.py @@ -103,7 +103,7 @@ def _json_to_document(self, data: dict) -> Document: document = Document(content=content, meta=data) return document - @component.output_types(document=List[Document]) + @component.output_types(documents=List[Document]) def run(self, query: str, headers: Optional[Dict[str, str]] = None): """ Process the query/URL using the Jina AI reader service.