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 conflicts between master and feature/weaviate-memory

cs0lar97ac802f0c09
diff --cc .env.template
index c9a45b2b2e,525cd61c5f..7dc1d2bb11
--- a/.env.template
+++ b/.env.template
@@@ -10,9 -10,5 +10,11 @@@ USE_AZURE=Fals
OPENAI_API_BASE=your-base-url-for-azure
OPENAI_API_VERSION=api-version-for-azure
OPENAI_DEPLOYMENT_ID=deployment-id-for-azure
+WEAVIATE_HOST="http://127.0.0.1"
+WEAVIATE_PORT="8080"
+WEAVIATE_USERNAME=
+WEAVIATE_PASSWORD=
+WEAVIATE_INDEX="Autogpt"
- MEMORY_PROVIDER="weaviate"
++MEMORY_PROVIDER="weaviate"
+ IMAGE_PROVIDER=dalle
-HUGGINGFACE_API_TOKEN=
++HUGGINGFACE_API_TOKEN=
diff --cc scripts/config.py
index bc88bbb9dd,959c3eb226..08869a6d7b
--- a/scripts/config.py
+++ b/scripts/config.py
@@@ -54,13 -53,9 +54,16 @@@ class Config(metaclass=Singleton)
self.pinecone_api_key = os.getenv("PINECONE_API_KEY")
self.pinecone_region = os.getenv("PINECONE_ENV")
+ self.weaviate_host = os.getenv("WEAVIATE_HOST")
+ self.weaviate_port = os.getenv("WEAVIATE_PORT")
+ self.weaviate_username = os.getenv("WEAVIATE_USERNAME", None)
+ self.weaviate_password = os.getenv("WEAVIATE_PASSWORD", None)
+ self.weaviate_scopes = os.getenv("WEAVIATE_SCOPES", None)
+ self.weaviate_index = os.getenv("WEAVIATE_INDEX", 'auto-gpt')
+
+ self.image_provider = os.getenv("IMAGE_PROVIDER")
+ self.huggingface_api_token = os.getenv("HUGGINGFACE_API_TOKEN")
+
# User agent headers to use when browsing web
# Some websites might just completely deny request with an error code if no user agent was found.
self.user_agent_header = {"User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"}