Skip to content

The agent engineering platform.

Docs: Update Rag tutorial so it includes an additional notebook cell with pip installs of required langchain_chroma and langchain_community. (#23204)

Yahkeef Davisb03c8015230a
diff --git a/docs/docs/tutorials/rag.ipynb b/docs/docs/tutorials/rag.ipynb
index e3297badab..e6bef08c26 100644
--- a/docs/docs/tutorials/rag.ipynb
+++ b/docs/docs/tutorials/rag.ipynb
@@ -62,7 +62,7 @@
"\n",
"### Installation\n",
"\n",
- "To install LangChain run:\n",
+ "This tutorial requires these langchain dependencies:\n",
"\n",
"```{=mdx}\n",
"import Tabs from '@theme/Tabs';\n",
@@ -71,10 +71,10 @@
"\n",
"<Tabs>\n",
" <TabItem value=\"pip\" label=\"Pip\" default>\n",
- " <CodeBlock language=\"bash\">pip install langchain</CodeBlock>\n",
+ " <CodeBlock language=\"bash\">pip install langchain langchain_community langchain_chroma</CodeBlock>\n",
" </TabItem>\n",
" <TabItem value=\"conda\" label=\"Conda\">\n",
- " <CodeBlock language=\"bash\">conda install langchain -c conda-forge</CodeBlock>\n",
+ " <CodeBlock language=\"bash\">conda install langchain langchain_community langchain_chroma -c conda-forge</CodeBlock>\n",
" </TabItem>\n",
"</Tabs>\n",
"\n",
@@ -124,7 +124,7 @@
},
{
"cell_type": "code",
- "execution_count": 1,
+ "execution_count": null,
"id": "26ef9d35",
"metadata": {},
"outputs": [],
@@ -956,7 +956,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.11.4"
+ "version": "3.10.4"
}
},
"nbformat": 4,