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,llama2]"
]
},
{
@@ -48,20 +39,9 @@
"id": "nGnpSYAAh2bQ"
},
"source": [
"### Step-2: Set LLAMA2 related environment variables and install dependencies\n",
"### Step-2: Set LLAMA2 related environment variables\n",
"\n",
"You can find `OPENAI_API_KEY` on your [OpenAI dashboard](https://platform.openai.com/account/api-keys) and `REPLICATE_API_TOKEN` key on your [Replicate dashboard](https://replicate.com/account/api-tokens). Now lets install the dependencies for LLAMA2."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"id": "qoBUbocNtUUD"
},
"outputs": [],
"source": [
"!pip install embedchain[llama2]"
"You can find `OPENAI_API_KEY` on your [OpenAI dashboard](https://platform.openai.com/account/api-keys) and `REPLICATE_API_TOKEN` key on your [Replicate dashboard](https://replicate.com/account/api-tokens)."
]
},
{