mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2025-12-18 14:34:23 +01:00
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
This commit is contained in:
committed by
GitHub
parent
f3a112fca3
commit
b21d68a8ab
@@ -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
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user