💡 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 method signature
davidmezzetti4d92dfc9654e
diff --git a/src/python/txtai/pipeline/data/segmentation.py b/src/python/txtai/pipeline/data/segmentation.pyindex df8a3e57..51d89615 100644--- a/src/python/txtai/pipeline/data/segmentation.py+++ b/src/python/txtai/pipeline/data/segmentation.py@@ -161,7 +161,7 @@ class Segmentation(Pipeline):# If minlength enabled, require at least minlength charsreturn text if not self.minlength or len(text) >= self.minlength else None- def createchunker(self, chunker=None, **kwargs):+ def createchunker(self, chunker, **kwargs):"""Creates a new Chonkie chunker