diff options
author | Reinier van der Leer <reinier.vanderleer@agpt.co> | 2023-09-15 05:18:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-15 05:18:44 +0200 |
commit | b21d68a8ab2bd32c91c92a5b495a0444f93ff3e0 (patch) | |
tree | 173946dbc3e66c66ae6c4fd411d61700ac4cdcbd /docs | |
parent | Integrate BenchmarkService into main.dart with Provider (diff) | |
download | Auto-GPT-b21d68a8ab2bd32c91c92a5b495a0444f93ff3e0.tar.gz Auto-GPT-b21d68a8ab2bd32c91c92a5b495a0444f93ff3e0.tar.bz2 Auto-GPT-b21d68a8ab2bd32c91c92a5b495a0444f93ff3e0.zip |
Migrate AutoGPT agent to poetry (#5219)
Inspired by #1102
* Migrate AutoGPT agent to poetry
Co-authored-by: rickythefox <richard@ginzburg.se>
* Rewrite automatic dependency check (check_requirements.py) for poetry
* Sort dependencies
* Add instructions for poetry to README
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/configuration/memory.md | 4 | ||||
-rw-r--r-- | docs/content/setup.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/docs/content/configuration/memory.md b/docs/content/configuration/memory.md index 1a5e716ab..1f6228954 100644 --- a/docs/content/configuration/memory.md +++ b/docs/content/configuration/memory.md @@ -153,14 +153,14 @@ data objects. To set up a Weaviate database, check out their [Quickstart Tutoria 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"`. +To enable it, set `USE_WEAVIATE_EMBEDDED` to `True` and make sure you `poetry add weaviate-client@^3.15.4`. #### Install the Weaviate client Install the Weaviate client before usage. ```shell -$ pip install weaviate-client +$ poetry add weaviate-client ``` #### Setting up environment variables diff --git a/docs/content/setup.md b/docs/content/setup.md index f1cbd4756..1a2ee1d7d 100644 --- a/docs/content/setup.md +++ b/docs/content/setup.md @@ -230,8 +230,8 @@ docker run -it --env-file=.env -v $PWD:/app --rm auto-gpt --gpt3only --continuou Create a virtual environment to run in. ```shell -python -m venv venvAutoGPT -source venvAutoGPT/bin/activate +python -m venv .venv +source .venv/bin/activate pip3 install --upgrade pip ``` |