From e57ef0c6d79359188273d1d2256ee278722c7284 Mon Sep 17 00:00:00 2001 From: Abraham Imani Date: Tue, 20 Jan 2026 08:39:59 +0200 Subject: [PATCH 1/2] docs: clarify language classification step in tutorial 32 --- .../32_Classifying_Documents_and_Queries_by_Language.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tutorials/32_Classifying_Documents_and_Queries_by_Language.ipynb b/tutorials/32_Classifying_Documents_and_Queries_by_Language.ipynb index 29fb12f4..09944d0b 100644 --- a/tutorials/32_Classifying_Documents_and_Queries_by_Language.ipynb +++ b/tutorials/32_Classifying_Documents_and_Queries_by_Language.ipynb @@ -687,4 +687,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +} From 8952db3df83a6d46c53d5993f41a67214a116679 Mon Sep 17 00:00:00 2001 From: Abraham Imani Date: Tue, 20 Jan 2026 08:54:26 +0200 Subject: [PATCH 2/2] docs: clarify language classification step in tutorial 32 --- .../32_Classifying_Documents_and_Queries_by_Language.ipynb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorials/32_Classifying_Documents_and_Queries_by_Language.ipynb b/tutorials/32_Classifying_Documents_and_Queries_by_Language.ipynb index 09944d0b..3f103cb8 100644 --- a/tutorials/32_Classifying_Documents_and_Queries_by_Language.ipynb +++ b/tutorials/32_Classifying_Documents_and_Queries_by_Language.ipynb @@ -159,9 +159,11 @@ "id": "d9fyP-ThRTue" }, "source": [ + "In this step, we configure the language classification component that will detect and route documents based on their language\n", + "\n", "The `DocumentLanguageClassifier` takes a list of languages. The `MetadataRouter` needs a dictionary of rules. These rules specify which node to route a document to (in this case, which language-specific `DocumentWriter`), based on the document's metadata.\n", "\n", - "The keys of the dictionary are the names of the output connections, and the values are dictionaries that follow the format of [filtering expressions in Haystack.](https://docs.haystack.deepset.ai/docs/metadata-filtering).\n" + "The keys of the dictionary are the names of the output connections, and the values are dictionaries that follow the format of [filtering expressions in Haystack.](https://docs.haystack.deepset.ai/docs/metadata-filtering)." ] }, {