diff --git a/notebooks/anthropic.ipynb b/notebooks/anthropic.ipynb index 23f97902..ad565aa1 100644 --- a/notebooks/anthropic.ipynb +++ b/notebooks/anthropic.ipynb @@ -30,15 +30,6 @@ "outputId": "efdce0dc-fb30-4e01-f5a8-ef1a7f4e8c09" }, "outputs": [], - "source": [ - "!pip install embedchain" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], "source": [ "!pip install embedchain[dataloaders]" ] diff --git a/notebooks/azure-openai.ipynb b/notebooks/azure-openai.ipynb index ad5c8aad..1c77da1d 100644 --- a/notebooks/azure-openai.ipynb +++ b/notebooks/azure-openai.ipynb @@ -22,16 +22,6 @@ "id": "b80ff15a", "metadata": {}, "outputs": [], - "source": [ - "!pip install embedchain" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "692ff37b", - "metadata": {}, - "outputs": [], "source": [ "!pip install embedchain[dataloaders]" ] @@ -158,14 +148,6 @@ " answer = app.query(question)\n", " print(answer)" ] - }, - { - "cell_type": "code", - "execution_count": null, - "id": "e1f2ead5", - "metadata": {}, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/notebooks/chromadb.ipynb b/notebooks/chromadb.ipynb index 61f8e122..b2b80c14 100644 --- a/notebooks/chromadb.ipynb +++ b/notebooks/chromadb.ipynb @@ -25,15 +25,6 @@ "id": "-NbXjAdlh0vJ" }, "outputs": [], - "source": [ - "!pip install embedchain" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], "source": [ "!pip install embedchain[dataloaders]" ] diff --git a/notebooks/cohere.ipynb b/notebooks/cohere.ipynb index 40b78e72..75295e5d 100644 --- a/notebooks/cohere.ipynb +++ b/notebooks/cohere.ipynb @@ -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, diff --git a/notebooks/elasticsearch.ipynb b/notebooks/elasticsearch.ipynb index 454388d4..9b0c9f0d 100644 --- a/notebooks/elasticsearch.ipynb +++ b/notebooks/elasticsearch.ipynb @@ -26,16 +26,7 @@ }, "outputs": [], "source": [ - "!pip install embedchain" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "!pip install embedchain[dataloaders]" + "!pip install embedchain[dataloaders,elasticsearch]" ] }, { @@ -44,20 +35,9 @@ "id": "nGnpSYAAh2bQ" }, "source": [ - "### Step-2: Set OpenAI environment variables and install the dependencies.\n", + "### Step-2: Set OpenAI environment variables.\n", "\n", - "You can find this env variable on your [OpenAI dashboard](https://platform.openai.com/account/api-keys). Now lets install the dependencies needed for Elasticsearch." - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "-MUFRfxV7Jk7" - }, - "outputs": [], - "source": [ - "!pip install --upgrade 'embedchain[elasticsearch]'" + "You can find this env variable on your [OpenAI dashboard](https://platform.openai.com/account/api-keys)." ] }, { diff --git a/notebooks/gpt4all.ipynb b/notebooks/gpt4all.ipynb index 394fc596..3fee4617 100644 --- a/notebooks/gpt4all.ipynb +++ b/notebooks/gpt4all.ipynb @@ -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,opensource]" ] }, { @@ -48,24 +39,9 @@ "id": "nGnpSYAAh2bQ" }, "source": [ - "### Step-2: Set GPT4ALL related environment variables and install dependencies\n", + "### Step-2: Set GPT4ALL related environment variables\n", "\n", - "GPT4All is free for all and doesn't require any API Key to use it. Just import the dependencies." - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "dGOE4u3dC6at", - "outputId": "c1c0087b-3f14-49fa-fb86-a4a3391ba14c" - }, - "outputs": [], - "source": [ - "!pip install --upgrade embedchain[opensource]" + "GPT4All is free for all and doesn't require any API Key to use it. So you can use it for free!" ] }, { diff --git a/notebooks/hugging_face_hub.ipynb b/notebooks/hugging_face_hub.ipynb index 835975ab..23d72881 100644 --- a/notebooks/hugging_face_hub.ipynb +++ b/notebooks/hugging_face_hub.ipynb @@ -31,16 +31,7 @@ }, "outputs": [], "source": [ - "!pip install embedchain" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "!pip install embedchain[dataloaders]" + "!pip install embedchain[dataloaders,huggingface_hub,opensource]" ] }, { @@ -49,39 +40,9 @@ "id": "nGnpSYAAh2bQ" }, "source": [ - "### Step-2: Set Hugging Face Hub related environment variables and install dependencies\n", + "### Step-2: Set Hugging Face Hub related environment variables\n", "\n", - "You can find your `HUGGINGFACE_ACCESS_TOKEN` key on your [Hugging Face Hub dashboard](https://huggingface.co/settings/tokens) and install the dependencies" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "VfDNZJCqNfqo", - "outputId": "34894d35-7142-42ee-8564-2e9f718afcbb" - }, - "outputs": [], - "source": [ - "!pip install embedchain[huggingface-hub]" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "colab": { - "base_uri": "https://localhost:8080/" - }, - "id": "SCNT8khqcR3G", - "outputId": "b789ee77-ef50-4330-8ac6-5da645dc36d6" - }, - "outputs": [], - "source": [ - "!pip install embedchain[opensource]" + "You can find your `HUGGINGFACE_ACCESS_TOKEN` key on your [Hugging Face Hub dashboard](https://huggingface.co/settings/tokens)" ] }, { @@ -209,15 +170,6 @@ " answer = app.query(question)\n", " print(answer)" ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "HvZVn6gU5xB_" - }, - "outputs": [], - "source": [] } ], "metadata": { diff --git a/notebooks/jina.ipynb b/notebooks/jina.ipynb index 6d6364fa..70e7589c 100644 --- a/notebooks/jina.ipynb +++ b/notebooks/jina.ipynb @@ -30,15 +30,6 @@ "outputId": "69cb79a6-c758-4656-ccf7-9f3105c81d16" }, "outputs": [], - "source": [ - "!pip install embedchain" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], "source": [ "!pip install embedchain[dataloaders]" ] diff --git a/notebooks/llama2.ipynb b/notebooks/llama2.ipynb index 52f51618..d7dd11ab 100644 --- a/notebooks/llama2.ipynb +++ b/notebooks/llama2.ipynb @@ -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)." ] }, { diff --git a/notebooks/openai.ipynb b/notebooks/openai.ipynb index f89bbe94..b3a410f9 100644 --- a/notebooks/openai.ipynb +++ b/notebooks/openai.ipynb @@ -30,15 +30,6 @@ "outputId": "6c630676-c7fc-4054-dc94-c613de58a037" }, "outputs": [], - "source": [ - "!pip install embedchain" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], "source": [ "!pip install embedchain[dataloaders]" ] diff --git a/notebooks/opensearch.ipynb b/notebooks/opensearch.ipynb index 00b91659..42d2343b 100644 --- a/notebooks/opensearch.ipynb +++ b/notebooks/opensearch.ipynb @@ -26,16 +26,7 @@ }, "outputs": [], "source": [ - "!pip install embedchain" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "!pip install embedchain[dataloaders]" + "!pip install embedchain[dataloaders,opensearch]" ] }, { @@ -49,17 +40,6 @@ "You can find this env variable on your [OpenAI dashboard](https://platform.openai.com/account/api-keys). Now lets install the dependencies needed for Opensearch." ] }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "-MUFRfxV7Jk7" - }, - "outputs": [], - "source": [ - "!pip install --upgrade 'embedchain[opensearch]'" - ] - }, { "cell_type": "code", "execution_count": null, diff --git a/notebooks/pinecone.ipynb b/notebooks/pinecone.ipynb index 50f21c19..b335d6a3 100644 --- a/notebooks/pinecone.ipynb +++ b/notebooks/pinecone.ipynb @@ -26,16 +26,7 @@ }, "outputs": [], "source": [ - "!pip install embedchain" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "!pip install embedchain[dataloaders]" + "!pip install embedchain[dataloaders,pinecone]" ] }, { @@ -44,20 +35,9 @@ "id": "nGnpSYAAh2bQ" }, "source": [ - "### Step-2: Set environment variables needed for Pinecone and install the dependencies.\n", + "### Step-2: Set environment variables needed for Pinecone\n", "\n", - "You can find this env variable on your [OpenAI dashboard](https://platform.openai.com/account/api-keys) and [Pinecone dashboard](https://app.pinecone.io/). Now lets install the dependencies needed for Pinecone." - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": { - "id": "-MUFRfxV7Jk7" - }, - "outputs": [], - "source": [ - "!pip install --upgrade 'embedchain[pinecone]'" + "You can find this env variable on your [OpenAI dashboard](https://platform.openai.com/account/api-keys) and [Pinecone dashboard](https://app.pinecone.io/)." ] }, { diff --git a/notebooks/vertex_ai.ipynb b/notebooks/vertex_ai.ipynb index 0fa2e4f1..d36c9751 100644 --- a/notebooks/vertex_ai.ipynb +++ b/notebooks/vertex_ai.ipynb @@ -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)." ] }, {