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.

resolved latest conflicts

cs0larb9a4f977906d
diff --cc README.md
index 9f71ceaafe,5507a53c42..dd7547a2fa
--- a/README.md
+++ b/README.md
@@@ -204,27 -223,6 +223,27 @@@ export PINECONE_ENV="Your pinecone regi
```
+## Weaviate Setup
+
+[Weaviate](https://weaviate.io/) is an open-source vector database. It allows to store data objects and vector embeddings from ML-models and scales seamlessly to billion of data objects. [An instance of Weaviate can be created locally (using Docker), on Kubernetes or using Weaviate Cloud Services](https://weaviate.io/developers/weaviate/quickstart).
+Although still experimental, [Embedded Weaviate](https://weaviate.io/developers/weaviate/installation/embedded) is supported which allows the Auto-GPT process itself to start a Weaviate instance. To enable it, set `USE_WEAVIATE_EMBEDDED` to `True` and make sure you `pip install "weaviate-client>=3.15.4`.
+
- #### Setting up enviornment variables
++#### Setting up environment variables
+
+In your `.env` file set the following:
+
+```
+MEMORY_BACKEND=weaviate
+WEAVIATE_HOST="127.0.0.1" # the IP or domain of the running Weaviate instance
+WEAVIATE_PORT="8080"
+WEAVIATE_PROTOCOL="http"
+WEAVIATE_USERNAME="your username"
+WEAVIATE_PASSWORD="your password"
+WEAVIATE_EMBEDDED_PATH="/home/me/.local/share/weaviate" # this is optional and indicates where the data should be persisted when running an embedded instance
- USE_WEAVIATE_EMBEDDED=False
++USE_WEAVIATE_EMBEDDED=False # set to True to run Embedded Weaviate
+MEMORY_INDEX="Autogpt" # name of the index to create for the application
+```
+
## View Memory Usage
1. View memory usage by using the `--debug` flag :)
diff --cc requirements.txt
index d86ebe97ca,b196c3d788..5ec42b2f5f
--- a/requirements.txt
+++ b/requirements.txt
@@@ -15,4 -15,4 +15,5 @@@ pinecone-client==2.2.
redis
orjson
Pillow
-coverage
+weaviate-client==3.15.5
++coverage