Update notebooks to work with the latest version (#870)

This commit is contained in:
Sidharth Mohanty
2023-10-29 23:06:43 -07:00
committed by GitHub
parent d3726134b2
commit 3b4409cfad
15 changed files with 374 additions and 256 deletions
+11 -1
View File
@@ -26,6 +26,16 @@
"!pip install embedchain"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "692ff37b",
"metadata": {},
"outputs": [],
"source": [
"!pip install embedchain[dataloaders]"
]
},
{
"cell_type": "markdown",
"id": "ac982a56",
@@ -44,7 +54,7 @@
"outputs": [],
"source": [
"import os\n",
"from embedchain import App\n",
"from embedchain import Pipeline as App\n",
"\n",
"os.environ[\"OPENAI_API_TYPE\"] = \"azure\"\n",
"os.environ[\"OPENAI_API_BASE\"] = \"https://xxx.openai.azure.com/\"\n",