Skip to content

Commit

Permalink
Docs: Add langgraph to installation section for Rag tutorial (#28849)
Browse files Browse the repository at this point in the history
**Issue**:
This tutorial depends on langgraph, however Langgraph is not mentioned
on the installation section for the tutorial, which raises an error when
copying and pasting the code snippets as following:

![image](https://github.com/user-attachments/assets/829c9118-fcf8-4f17-9abb-32e005ebae07)

**Solution**:
Just adding langgraph package to installation section, for both pip and
Conda tabs as this tutorial requires it.
  • Loading branch information
ahmadelmalah authored Dec 20, 2024
1 parent 8cf5f20 commit a08c76a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docs/tutorials/rag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
"metadata": {},
"outputs": [],
"source": [
"%pip install --quiet --upgrade langchain-text-splitters langchain-community"
"%pip install --quiet --upgrade langchain-text-splitters langchain-community langgraph"
]
},
{
Expand All @@ -88,7 +88,7 @@
"source": [
" </TabItem>\n",
" <TabItem value=\"conda\" label=\"Conda\">\n",
" <CodeBlock language=\"bash\">conda install langchain-text-splitters langchain-community -c conda-forge</CodeBlock>\n",
" <CodeBlock language=\"bash\">conda install langchain-text-splitters langchain-community langgraph -c conda-forge</CodeBlock>\n",
" </TabItem>\n",
"</Tabs>\n",
"\n",
Expand Down

0 comments on commit a08c76a

Please sign in to comment.