Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Adds information on how to use the other cache methods available

crimson-knight10b7d8e376b1
diff --git a/.env.template b/.env.template
index 01735615ca..1ff98a6fd3 100644
--- a/.env.template
+++ b/.env.template
@@ -13,3 +13,4 @@ OPENAI_AZURE_DEPLOYMENT_ID=deployment-id-for-azure
IMAGE_PROVIDER=dalle
HUGGINGFACE_API_TOKEN=
USE_MAC_OS_TTS=False
+MEMORY_BACKEND=local
diff --git a/README.md b/README.md
index 749c879151..aa083689a5 100644
--- a/README.md
+++ b/README.md
@@ -204,6 +204,15 @@ export PINECONE_ENV="Your pinecone region" # something like: us-east4-gcp
```
+## Setting Your Cache Type
+
+By default Auto-GPT is going to use LocalCache instead of redis or Pinecone.
+
+To switch to either, change the `MEMORY_BACKEND` env variable to the value that you want:
+
+`local` (default) uses a local JSON cache file
+`pinecone` uses the Pinecone.io account you configured in your ENV settings
+`redis` will use the redis cache that you configured
## View Memory Usage