From fa0f9113407ed1cb2b9ce5bbad61749904b726bd Mon Sep 17 00:00:00 2001 From: HowardChan Date: Sat, 16 Mar 2024 05:33:53 +0800 Subject: [PATCH] Fix/Typos (#206) --- examples/rag/langgraph_self_rag_mistral_nomic.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/rag/langgraph_self_rag_mistral_nomic.ipynb b/examples/rag/langgraph_self_rag_mistral_nomic.ipynb index d23c73d9d..9ac63ecad 100644 --- a/examples/rag/langgraph_self_rag_mistral_nomic.ipynb +++ b/examples/rag/langgraph_self_rag_mistral_nomic.ipynb @@ -300,7 +300,7 @@ " If the document contains keywords related to the user question, grade it as relevant. \\n\n", " It does not need to be a stringent test. The goal is to filter out erroneous retrievals. \\n\n", " Give a binary score 'yes' or 'no' score to indicate whether the document is relevant to the question. \\n\n", - " Provide the binary score as a JSON with a single key 'score' and no premable or explaination.\"\"\",\n", + " Provide the binary score as a JSON with a single key 'score' and no preamble or explanation.\"\"\",\n", " input_variables=[\"question\",\"context\"],\n", " )\n", "\n", @@ -446,7 +446,7 @@ " \\n ------- \\n\n", " Here is the answer: {generation}\n", " Give a binary score 'yes' or 'no' score to indicate whether the answer is grounded in / supported by a set of facts. \\n\n", - " Provide the binary score as a JSON with a single key 'score' and no premable or explaination.\"\"\",\n", + " Provide the binary score as a JSON with a single key 'score' and no preamble or explanation.\"\"\",\n", " input_variables=[\"generation\", \"documents\"],\n", " )\n", "\n", @@ -491,7 +491,7 @@ " \\n ------- \\n\n", " Here is the question: {question}\n", " Give a binary score 'yes' or 'no' to indicate whether the answer is useful to resolve a question. \\n\n", - " Provide the binary score as a JSON with a single key 'score' and no premable or explaination.\"\"\",\n", + " Provide the binary score as a JSON with a single key 'score' and no preamble or explanation.\"\"\",\n", " input_variables=[\"generation\", \"question\"],\n", " )\n", "\n",