docs: Added missing installation for required packages in tutorial notebooks (#28156)

**Description:** some of the required packages are missing in the
installation cell in tutorial notebooks. So I added required packages to
installation cell or created latter one if it was not presented in the
notebook at all.

Tested in colab: "Kernel" -> "Run all cells". All the notebooks under
`docs/tutorials` run as expected without `ModuleNotFoundError` error.

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
This commit is contained in:
Alexey Morozov 2024-11-17 00:51:30 +03:00 committed by GitHub
parent 2de59d0b3e
commit 3b602d0453
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -156,7 +156,7 @@
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
"%pip install --upgrade --quiet tiktoken langchain langgraph beautifulsoup4\n", "%pip install --upgrade --quiet tiktoken langchain langgraph beautifulsoup4 langchain-community\n",
"\n", "\n",
"# Set env var OPENAI_API_KEY or load from a .env file\n", "# Set env var OPENAI_API_KEY or load from a .env file\n",
"# import dotenv\n", "# import dotenv\n",