Andres Caicedo
9699a1ca78
Update chat.py
...
Just import sleep from time library.
2023-04-04 11:03:09 +02:00
Andres Caicedo
500b2b4836
Update chat.py
...
Adds code separation between code blocks.
2023-04-04 11:02:01 +02:00
Andres Caicedo
238824553a
Update chat.py
...
Standardize importation of libraries to top.
2023-04-04 10:58:38 +02:00
Andres Caicedo
8e2074f483
Merge branch 'master' into dev
2023-04-03 13:51:36 +02:00
Toran Bruce Richards
41daf07219
Vastly improves context window management.
...
Now uses tokens and biggest context possible.
2023-04-03 11:28:06 +01:00
Taylor Brown
30f8ed95e1
Remove unused imports
2023-04-02 21:52:50 -05:00
Taylor Brown
ae9448cb89
Consolidate calls to openai
...
Starting to abstract away the calls to openai
2023-04-02 21:51:07 -05:00
Taylor Brown
80ccd10d0b
Use gpt-4 by default for the main thought process
...
Allow specifying the llm through dotenv
Move more things into config
2023-04-02 21:35:28 -05:00
Taylor Brown
28c18adff0
Merge master to fixes_gpt3
2023-04-02 18:30:28 -05:00
Taylor Brown
f808710528
Attempt to improve JSON handling in GPT-3
2023-04-02 14:48:35 -05:00
Andres Caicedo
eac5c1f6e6
Add documentation
2023-04-02 19:03:37 +02:00
James C. Palmer
5e746afef8
Use load_dotenv() in chat.py and speak.py.
2023-04-02 09:32:25 -04:00
Toran Bruce Richards
99a33023c4
Fixes incorrect handling of openai RateLimitExceeded errors.
2023-04-02 13:46:31 +01:00
James C. Palmer
ef656a0f77
Remove keys.py and replace with python-dotenv.
...
- Removed `keys.py`.
- Added `.env.template`.
- Added `.env` to `.gitignore`.
- Updated various files that imported `keys` to use `os.getenv` instead.
- Updated `requirements.txt` dependencies.
- Updated README.md with instructions on setting up environment variables.
This change improves security, flexibility, and makes it easier to use Auto-GPT in notebooks. Environment variables are stored in `.env` and loaded via `load_dotenv()` in `scripts/main.py`.
2023-04-02 06:39:55 -04:00
Torantulino
b4685f67e6
Apply autopep8 formatting to entire codebase
2023-04-02 09:13:15 +01:00
Torantulino
ffeb1aca73
Implements handling of OpenAI rate limit error.
2023-04-01 01:30:13 +01:00
Torantulino
7f98e8adfe
Deletes old output renderer and renames AutonomousAI folder to scripts
2023-03-31 22:49:17 +01:00