Skip to content

armgit / txtai

Public Imported from GitHub
0

💡 All-in-one AI framework for semantic search, LLM orchestration and language model workflows

Update method signature

davidmezzetti4d92dfc9654e
diff --git a/src/python/txtai/pipeline/data/segmentation.py b/src/python/txtai/pipeline/data/segmentation.py
index 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 chars
return 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