From deec538335fdff37e62ff1b9c8ce130e58a9bc33 Mon Sep 17 00:00:00 2001 From: giulia_p_lib <44606898+giuliapl@users.noreply.github.com> Date: Wed, 9 Apr 2025 14:49:37 +0200 Subject: [PATCH] docs: fix small typo in map_rerank_docs_chain.ipynb (#30738) - [ ] **PR message**: ***Delete this entire checklist*** and replace with - **Description:** fixed a minor typo in map_rerank_docs_chain.ipynb --- docs/docs/versions/migrating_chains/map_rerank_docs_chain.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/versions/migrating_chains/map_rerank_docs_chain.ipynb b/docs/docs/versions/migrating_chains/map_rerank_docs_chain.ipynb index f52e68e2bd9..6e9d7cd5272 100644 --- a/docs/docs/versions/migrating_chains/map_rerank_docs_chain.ipynb +++ b/docs/docs/versions/migrating_chains/map_rerank_docs_chain.ipynb @@ -13,7 +13,7 @@ "- Map a process to the set of documents, where the process includes generating a score;\n", "- Rank the results by score and return the maximum.\n", "\n", - "A common process in this scenario is question-answering using pieces of context from a document. Forcing the model to generate score along with its answer helps to select for answers generated only by relevant context.\n", + "A common process in this scenario is question-answering using pieces of context from a document. Forcing the model to generate a score along with its answer helps to select for answers generated only by relevant context.\n", "\n", "An [LangGraph](https://langchain-ai.github.io/langgraph/) implementation allows for the incorporation of [tool calling](/docs/concepts/tool_calling) and other features for this problem. Below we will go through both `MapRerankDocumentsChain` and a corresponding LangGraph implementation on a simple example for illustrative purposes." ]