Skip to content

Commit

Permalink
jina reader: rename the output edge (#1217)
Browse files Browse the repository at this point in the history
  • Loading branch information
anakin87 authored Nov 26, 2024
1 parent 1119b7b commit b770a29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b770a29

Please sign in to comment.