💡 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
Add truncation to summary pipeline
davidmezzetti17963dfb7805
diff --git a/src/python/txtai/pipeline/summary.py b/src/python/txtai/pipeline/summary.pyindex d9d20262..46fcd9e9 100644--- a/src/python/txtai/pipeline/summary.py+++ b/src/python/txtai/pipeline/summary.py@@ -31,7 +31,7 @@ class Summary(HFPipeline):summary text"""- kwargs = {}+ kwargs = {"truncation": True}if minlength:kwargs["min_length"] = minlengthif maxlength: