💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows
Python agentsaiai-agentsembeddingsinformation-retrievallanguage-modellarge-language-modelsllmnlppythonragretrieval-augmented-generationsearchsearch-enginesemantic-searchsentence-embeddingstransformerstxtaivector-databasevector-search
Update return value #804
davidmezzetti9ddfc413066d
diff --git a/src/python/txtai/pipeline/llm/generation.py b/src/python/txtai/pipeline/llm/generation.pyindex 179acefe..34d22789 100644--- a/src/python/txtai/pipeline/llm/generation.py+++ b/src/python/txtai/pipeline/llm/generation.py@@ -83,7 +83,7 @@ class Generation:return self.stream(texts, maxlength, stream, stop, **kwargs)# Full response as content elements- return self.stream(texts, maxlength, stream, stop, **kwargs)+ return list(self.stream(texts, maxlength, stream, stop, **kwargs))def clean(self, prompt, result):"""