From ede895cd9f3a4ef78a22355b7929072ef476c2ed Mon Sep 17 00:00:00 2001 From: Arno Angerer Date: Tue, 30 Apr 2024 00:25:52 +0200 Subject: [PATCH] Added required `gpt4all` dependency (#357) For the GPT4AllEmbeddings to work (in the Indexing part) the `gpt4all` package is required. This PR adds it to the list of required dependencies at the top of the notebook --- examples/rag/langgraph_rag_agent_llama3_local.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/rag/langgraph_rag_agent_llama3_local.ipynb b/examples/rag/langgraph_rag_agent_llama3_local.ipynb index 0f1186256..0b5c83e1b 100644 --- a/examples/rag/langgraph_rag_agent_llama3_local.ipynb +++ b/examples/rag/langgraph_rag_agent_llama3_local.ipynb @@ -7,7 +7,7 @@ "metadata": {}, "outputs": [], "source": [ - "! pip install -U langchain-nomic langchain_community tiktoken langchainhub chromadb langchain langgraph tavily-python" + "! pip install -U langchain-nomic langchain_community tiktoken langchainhub chromadb langchain langgraph tavily-python gpt4all" ] }, { @@ -229,7 +229,7 @@ "# Prompt\n", "prompt = PromptTemplate(\n", " template=\"\"\" <|begin_of_text|><|start_header_id|>system<|end_header_id|> You are a grader assessing whether \n", - " an answer is grounded in / supported by a set of facts. Give a binary score 'yes' or 'no' score to indicate \n", + " an answer is grounded in / supported by a set of facts. Give a binary 'yes' or 'no' score to indicate \n", " whether the answer is grounded in / supported by a set of facts. Provide the binary score as a JSON with a \n", " single key 'score' and no preamble or explanation. <|eot_id|><|start_header_id|>user<|end_header_id|>\n", " Here are the facts:\n",