diff --git a/semantic_router/splitters/consecutive_sim.py b/semantic_router/splitters/consecutive_sim.py index 5cda1c0e558e558679c026b3f76f9addc4f8016f..2994d7ff68f78bb52567109b8ea3e0675298bee8 100644 --- a/semantic_router/splitters/consecutive_sim.py +++ b/semantic_router/splitters/consecutive_sim.py @@ -17,9 +17,7 @@ class ConsecutiveSimSplitter(BaseSplitter): name: str = "consecutive_similarity_splitter", score_threshold: float = 0.45, ): - super().__init__( - name=name, score_threshold=score_threshold, encoder=encoder - ) + super().__init__(name=name, score_threshold=score_threshold, encoder=encoder) def __call__(self, docs: List[str]): # Check if there's only a single document diff --git a/semantic_router/splitters/cumulative_sim.py b/semantic_router/splitters/cumulative_sim.py index 1dbd80b04370e10871b2f0d5b2c8d48954894a00..960eeb290980688d9bee20df34891a58c8af5615 100644 --- a/semantic_router/splitters/cumulative_sim.py +++ b/semantic_router/splitters/cumulative_sim.py @@ -17,9 +17,7 @@ class CumulativeSimSplitter(BaseSplitter): name: str = "cumulative_similarity_splitter", score_threshold: float = 0.45, ): - super().__init__( - name=name, score_threshold=score_threshold, encoder=encoder - ) + super().__init__(name=name, score_threshold=score_threshold, encoder=encoder) def __call__(self, docs: List[str]): total_docs = len(docs)