Improve deps installation by converting them to one liner (#967)

This commit is contained in:
Sidharth Mohanty
2023-11-29 23:38:34 +05:30
committed by GitHub
parent 38426a7af1
commit e35eaf1bfc
13 changed files with 21 additions and 272 deletions

View File

@@ -30,16 +30,7 @@
},
"outputs": [],
"source": [
"!pip install embedchain"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"!pip install embedchain[dataloaders]"
"!pip install embedchain[dataloaders,vertexai]"
]
},
{
@@ -48,20 +39,9 @@
"id": "nGnpSYAAh2bQ"
},
"source": [
"### Step-2: Set VertexAI related environment variables and install dependencies.\n",
"### Step-2: Set VertexAI related environment variables\n",
"\n",
"You can find `OPENAI_API_KEY` on your [OpenAI dashboard](https://platform.openai.com/account/api-keys). Now lets install the dependencies."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "a_shbIFBtnwu"
},
"outputs": [],
"source": [
"!pip install embedchain[vertexai]"
"You can find `OPENAI_API_KEY` on your [OpenAI dashboard](https://platform.openai.com/account/api-keys)."
]
},
{