From 8f276f0b72fb7bce67c2ea3a89c1e34b9928d93f Mon Sep 17 00:00:00 2001 From: Manjunath Janardhan <35326118+manjunathshiva@users.noreply.github.com> Date: Thu, 7 Sep 2023 20:34:36 +0530 Subject: [PATCH] Update PDF_Context_Retriever .ipynb Fix typo for full_paras --- .../2. Ask your documents/PDF_Context_Retriever .ipynb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Enterprise LLM Use Cases/2. Ask your documents/PDF_Context_Retriever .ipynb b/Enterprise LLM Use Cases/2. Ask your documents/PDF_Context_Retriever .ipynb index fb73f2d..3dfa2a6 100644 --- a/Enterprise LLM Use Cases/2. Ask your documents/PDF_Context_Retriever .ipynb +++ b/Enterprise LLM Use Cases/2. Ask your documents/PDF_Context_Retriever .ipynb @@ -199,7 +199,7 @@ " return most_similar_text\n", "question = \"what are the supported platform for ssh runner?\"\n", "\n", - "most_relevant_text = find_most_similar_text(question, ful_paras)\n", + "most_relevant_text = find_most_similar_text(question, full_paras)\n", "print(\"Most Relevant context:\", most_relevant_text)\n", "len(most_relevant_text)" ] @@ -405,7 +405,7 @@ "source": [ "question = \"the execution of the pipeline is performed through which channel?\"\n", "\n", - "most_relevant_text = find_most_similar_text(question, ful_paras)\n", + "most_relevant_text = find_most_similar_text(question, full_paras)\n", "\n", "chat_history = f\"Answer the question based on the context below. \" + \\\n", " \"Context: \" + most_relevant_text + \\\n", @@ -518,7 +518,7 @@ "source": [ "question = \"the execution of the pipeline is performed through which channel?\"\n", "\n", - "most_relevant_text = find_most_similar_text(question, ful_paras)\n", + "most_relevant_text = find_most_similar_text(question, full_paras)\n", "\n", "chat_history = f\"Answer the question based on the context below. \" + \\\n", " \"Context: \" + most_relevant_text + \\\n", @@ -623,7 +623,7 @@ "source": [ "question = \"Which variable controls GitLab CI/CD Git checkout?\"\n", "\n", - "most_relevant_text = find_most_similar_text(question, ful_paras)\n", + "most_relevant_text = find_most_similar_text(question, full_paras)\n", "\n", "chat_history = f\"Answer the question based on the context below. \" + \\\n", " \"Context: \" + most_relevant_text + \\\n",