Docs: Add langgraph to installation section for Rag tutorial (#28849)

**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.
This commit is contained in:
Ahmad Elmalah 2024-12-20 19:08:19 +02:00 committed by GitHub
parent 8cf5f20bb5
commit a08c76a6b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -78,7 +78,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"%pip install --quiet --upgrade langchain-text-splitters langchain-community" "%pip install --quiet --upgrade langchain-text-splitters langchain-community langgraph"
] ]
}, },
{ {
@ -88,7 +88,7 @@
"source": [ "source": [
" </TabItem>\n", " </TabItem>\n",
" <TabItem value=\"conda\" label=\"Conda\">\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", " </TabItem>\n",
"</Tabs>\n", "</Tabs>\n",
"\n", "\n",