The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.
Python agentic-memoryagentic-memory-systemagentsaiai-agentschatgptgenaillmlong-term-memorymemorymemory-managementpythonragstate-management
Improve deps installation by converting them to one liner (#967)
Sidharth Mohantye35eaf1bfc15
diff --git a/notebooks/anthropic.ipynb b/notebooks/anthropic.ipynbindex 23f979025..ad565aa11 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.ipynbindex ad5c8aad7..1c77da1d4 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.ipynbindex 61f8e1224..b2b80c146 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.ipynbindex 40b78e72c..75295e5d7 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.ipynbindex 454388d4a..9b0c9f0d9 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.ipynbindex 394fc5961..3fee46174 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.ipynbindex 835975ab2..23d728818 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.ipynbindex 6d6364fa3..70e7589cf 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.ipynbindex 52f516184..d7dd11abb 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.ipynbindex f89bbe946..b3a410f99 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.ipynbindex 00b916595..42d2343b0 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.ipynbindex 50f21c19c..b335d6a31 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.ipynbindex 0fa2e4f1f..d36c9751c 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)."]},{