Commit Graph

16 Commits

Author SHA1 Message Date
Toran Bruce Richards
fd0a4b3186 Merge branch 'master' into feature/time-and-date 2023-04-09 08:02:20 +01:00
Toran Bruce Richards
d8410d9ca3 Makes it clearer to the AI exactly what memories are. 2023-04-09 06:16:42 +01:00
Ryan Peach
47c6117e18 Added time and date to the system message for each context 2023-04-08 22:59:28 -04:00
douglas
475671d1e8 Pinecone memory and memory usage tracking 2023-04-05 16:20:43 -04: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
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