From c5e23293f8249dc5f1b4557f03b45eda4f8e77f8 Mon Sep 17 00:00:00 2001 From: Adarsh Shrivastav <142413097+AdarshKumarShorthillsAI@users.noreply.github.com> Date: Thu, 17 Aug 2023 14:24:43 +0530 Subject: [PATCH] Corrected Typo in MultiPromptChain Example in router.ipynb (#9362) Refined the example in router.ipynb by addressing a minor typographical error. The typo "rins" has been corrected to "rains" in the code snippet that demonstrates the usage of the MultiPromptChain. This change ensures accuracy and consistency in the provided code example. This improvement enhances the readability and correctness of the notebook, making it easier for users to understand and follow the demonstration. The commit aims to maintain the quality and accuracy of the content within the repository. Thank you for your attention to detail, and please review the change at your convenience. @baskaryan , @hwchase17 --- docs/extras/modules/chains/foundational/router.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/extras/modules/chains/foundational/router.ipynb b/docs/extras/modules/chains/foundational/router.ipynb index 88f502fbfe..c95e613d74 100644 --- a/docs/extras/modules/chains/foundational/router.ipynb +++ b/docs/extras/modules/chains/foundational/router.ipynb @@ -15,7 +15,7 @@ "- destination_chains: chains that the router chain can route to\n", "\n", "\n", - "In this notebook we will focus on the different types of routing chains. We will show these routing chains used in a `MultiPromptChain` to create a question-answering chain that selects the prompt which is most relevant for a given question, and then answers the question using that prompt." + "In this notebook, we will focus on the different types of routing chains. We will show these routing chains used in a `MultiPromptChain` to create a question-answering chain that selects the prompt which is most relevant for a given question, and then answers the question using that prompt." ] }, { @@ -231,7 +231,7 @@ } ], "source": [ - "print(chain.run(\"What is the name of the type of cloud that rins\"))" + "print(chain.run(\"What is the name of the type of cloud that rains?\"))" ] }, {