From 61bdcd6a251bdff892e4f5df7f75515f2102b17c Mon Sep 17 00:00:00 2001 From: Rustem Galiullin Date: Thu, 18 Apr 2024 18:18:52 +0400 Subject: [PATCH] squash (#670) Co-authored-by: anakin87 --- .../components/generators/ollama/generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/integrations/ollama/src/haystack_integrations/components/generators/ollama/generator.py b/integrations/ollama/src/haystack_integrations/components/generators/ollama/generator.py index bbd7b05ca..50c65b650 100644 --- a/integrations/ollama/src/haystack_integrations/components/generators/ollama/generator.py +++ b/integrations/ollama/src/haystack_integrations/components/generators/ollama/generator.py @@ -167,7 +167,7 @@ def _build_chunk(self, chunk_response: Any) -> StreamingChunk: chunk_message = StreamingChunk(content, meta) return chunk_message - @component.output_types(replies=List[str], metadata=List[Dict[str, Any]]) + @component.output_types(replies=List[str], meta=List[Dict[str, Any]]) def run( self, prompt: str,