Adds information on how to use the other cache methods available

This commit is contained in:
crimson-knight
2023-04-11 07:46:25 -04:00
parent 186a8c615e
commit 10b7d8e376
2 changed files with 10 additions and 0 deletions

View File

@@ -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

View File

@@ -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