From a6a2475839036959a8ddca2c48e194b628fb8a3c Mon Sep 17 00:00:00 2001 From: "David S. Batista" Date: Wed, 8 Jan 2025 12:17:16 +0100 Subject: [PATCH] Update haystack/components/preprocessors/recursive_splitter.py Co-authored-by: Sebastian Husch Lee --- haystack/components/preprocessors/recursive_splitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haystack/components/preprocessors/recursive_splitter.py b/haystack/components/preprocessors/recursive_splitter.py index c9e11af477..8736a8ba36 100644 --- a/haystack/components/preprocessors/recursive_splitter.py +++ b/haystack/components/preprocessors/recursive_splitter.py @@ -39,7 +39,7 @@ class RecursiveDocumentSplitter: AI, in its broadest sense, is intelligence exhibited by machines, particularly computer systems. AI technology is widely used throughout industry, government, and science. Some high-profile applications include advanced web search engines; recommendation systems; interacting via human speech; autonomous vehicles; generative and creative tools; and superhuman play and analysis in strategy games.''' - + chunker.warm_up() doc = Document(content=text) doc_chunks = chunker.run([doc]) print(doc_chunks["documents"])