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,cohere]"
]
},
{
@@ -48,27 +39,11 @@
"id": "nGnpSYAAh2bQ"
},
"source": [
"### Step-2: Set Cohere related environment variables and install the dependencies\n",
"### Step-2: Set Cohere related environment variables\n",
"\n",
"You can find `OPENAI_API_KEY` on your [OpenAI dashboard](https://platform.openai.com/account/api-keys) and `COHERE_API_KEY` key on your [Cohere dashboard](https://dashboard.cohere.com/api-keys)."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"colab": {
"base_uri": "https://localhost:8080/",
"height": 1000
},
"id": "S5jTywPZNtrj",
"outputId": "4a23c813-c9e5-4b6c-e3d9-b41e4fdbc54d"
},
"outputs": [],
"source": [
"!pip install embedchain[cohere]"
]
},
{
"cell_type": "code",
"execution_count": null,