From 8e36b8be65e4fac398b8eca38945ee51ede7a119 Mon Sep 17 00:00:00 2001 From: hajdul88 <52442977+hajdul88@users.noreply.github.com> Date: Fri, 24 Jan 2025 15:45:16 +0100 Subject: [PATCH] feat: Updates Readme.md with modal deployment guide --- README.md | 21 +++++++++++++++++++++ modal_wrapper.py => modal_deployment.py | 0 2 files changed, 21 insertions(+) rename modal_wrapper.py => modal_deployment.py (100%) diff --git a/README.md b/README.md index a14ddebc2..46e06a472 100644 --- a/README.md +++ b/README.md @@ -241,6 +241,27 @@ Please see the cognee [Development Guide](https://docs.cognee.ai/quickstart/) fo ```bash pip install cognee ``` +### Deployment at Scale (Modal) + +Scale cognee in 4 simple steps to handle enterprise workloads using [Modal](https://modal.com)'s GPU-powered infrastructure + +**1. Install the modal python client** +```bash +pip install modal +``` +**2. Create a free account on [Modal](https://modal.com)** + +**3. Set Up Modal API Key** +```bash +modal token set --token-id TOKEN_ID --token-secret TOKEN_SECRET --profile=PROFILE +modal profile activate PROFILE +``` +**4. Run cognee example** + +This simple example will deploy separate cognee instances building their own memory stores and answering a list of questions at scale. +```bash +modal run -d modal_deployment.py +``` ## 💫 Contributors diff --git a/modal_wrapper.py b/modal_deployment.py similarity index 100% rename from modal_wrapper.py rename to modal_deployment.py