mirror of
https://github.com/hwchase17/langchain
synced 2024-11-06 03:20:49 +00:00
Docs: Update Rag tutorial so it includes an additional notebook cell with pip installs of required langchain_chroma and langchain_community. (#23204)
Description: Update Rag tutorial notebook so it includes an additional notebook cell with pip installs of required langchain_chroma and langchain_community. This fixes the issue with the rag tutorial gives you a 'missing modules' error if you run code in the notebook as is. --------- Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
parent
41f7620989
commit
b03c801523
@ -62,7 +62,7 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"### Installation\n",
|
"### Installation\n",
|
||||||
"\n",
|
"\n",
|
||||||
"To install LangChain run:\n",
|
"This tutorial requires these langchain dependencies:\n",
|
||||||
"\n",
|
"\n",
|
||||||
"```{=mdx}\n",
|
"```{=mdx}\n",
|
||||||
"import Tabs from '@theme/Tabs';\n",
|
"import Tabs from '@theme/Tabs';\n",
|
||||||
@ -71,10 +71,10 @@
|
|||||||
"\n",
|
"\n",
|
||||||
"<Tabs>\n",
|
"<Tabs>\n",
|
||||||
" <TabItem value=\"pip\" label=\"Pip\" default>\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>\n",
|
||||||
" <TabItem value=\"conda\" label=\"Conda\">\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",
|
" </TabItem>\n",
|
||||||
"</Tabs>\n",
|
"</Tabs>\n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -124,7 +124,7 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 1,
|
"execution_count": null,
|
||||||
"id": "26ef9d35",
|
"id": "26ef9d35",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
@ -956,7 +956,7 @@
|
|||||||
"name": "python",
|
"name": "python",
|
||||||
"nbconvert_exporter": "python",
|
"nbconvert_exporter": "python",
|
||||||
"pygments_lexer": "ipython3",
|
"pygments_lexer": "ipython3",
|
||||||
"version": "3.11.4"
|
"version": "3.10.4"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nbformat": 4,
|
"nbformat": 4,
|
||||||
|
Loading…
Reference in New Issue
Block a user