From 0ecc8177be4960150063769f01b41085dea4df78 Mon Sep 17 00:00:00 2001 From: "David S. Batista" Date: Thu, 12 Dec 2024 11:41:34 +0100 Subject: [PATCH] updating tests --- test/components/retrievers/test_sentence_window_retriever.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/components/retrievers/test_sentence_window_retriever.py b/test/components/retrievers/test_sentence_window_retriever.py index 4979fa334d..04e03befbe 100644 --- a/test/components/retrievers/test_sentence_window_retriever.py +++ b/test/components/retrievers/test_sentence_window_retriever.py @@ -176,7 +176,7 @@ def test_context_documents_returned_are_ordered_by_split_idx_start(self): @pytest.mark.integration def test_run_with_pipeline(self): - splitter = DocumentSplitter(split_length=1, split_overlap=0, split_by="sentence") + splitter = DocumentSplitter(split_length=1, split_overlap=0, split_by="period") text = ( "This is a text with some words. There is a second sentence. And there is also a third sentence. " "It also contains a fourth sentence. And a fifth sentence. And a sixth sentence. And a seventh sentence"