Commit Graph

4531 Commits

Author SHA1 Message Date
“Philip
1e07373696 Fix JSON string escaping issue
Fixes an issue where double quotes were not being escaped in JSON strings, causing parse errors.
2023-04-03 14:58:27 +01:00
Toran Bruce Richards
94448a13b5 Merge branch 'master' of https://github.com/Torantulino/Auto-GPT 2023-04-03 14:50:55 +01:00
Toran Bruce Richards
9055c37acb Merge pull request #68 from Veylkh/master
dirtyjson -> json
2023-04-04 01:48:19 +12:00
Toran Bruce Richards
5c97a71c74 ignores outputs. 2023-04-03 13:39:05 +01:00
Veylkh
f72afc7558 dirtyjson -> json
Fixes the missing UserDict (caused by migration from python 3.9 to ^3.10)
2023-04-03 14:28:22 +02:00
Andres Caicedo
5ced5cae3a Update Dockerfile
The requirements file wasn't on the file system.
2023-04-03 14:10:15 +02:00
Andres Caicedo
765210f0cd Add extra documentation 2023-04-03 14:10:02 +02:00
Toran Bruce Richards
439a7ffe7d Adds discord to readme 2023-04-03 13:06:22 +01:00
Andres Caicedo
8e2074f483 Merge branch 'master' into dev 2023-04-03 13:51:36 +02:00
Andres Caicedo
5c02bfa4de Update .gitignore
Ignore venv folder
2023-04-03 13:38:56 +02:00
Toran Bruce Richards
ea9120180e Merge pull request #45 from Taytay/fixes_gpt3
- Makes it possible to use gpt-3.5, making Auto-GPT 10x times cheaper, faster and available to everyone!
- Various bug fixes and improvements
2023-04-03 22:43:38 +12:00
Toran Bruce Richards
3093ec9369 Tweaks prompt for better results on both models! 2023-04-03 11:37:43 +01:00
Toran Bruce Richards
109b9288a7 Removes logging and uses new config token limit. 2023-04-03 11:37:18 +01:00
Toran Bruce Richards
e50e826857 Tweaks welcome back prompt. 2023-04-03 11:35:08 +01:00
Toran Bruce Richards
f426b51038 Changes python version to 3.10 in execute_code. 2023-04-03 11:34:39 +01:00
Toran Bruce Richards
c9be6edf9e Improves parsing of AI JSON output.
This makes gpt3.5 turbo fully possible! 🚀
2023-04-03 11:34:17 +01:00
Toran Bruce Richards
2bdd6b7b83 Adds missing google search import. 2023-04-03 11:33:35 +01:00
Toran Bruce Richards
ba6df3674b Fixes overwrite memory command. 2023-04-03 11:33:18 +01:00
Toran Bruce Richards
6a0a1355f0 Fixes google search command. 2023-04-03 11:33:01 +01:00
Toran Bruce Richards
b1cc474b92 removes unused commands. 2023-04-03 11:32:40 +01:00
Toran Bruce Richards
59d52e9bc7 Sets actual token limits. 2023-04-03 11:30:39 +01:00
Toran Bruce Richards
099a5e1090 Handles incorrect AI formatting in a more forgiving way. 2023-04-03 11:30:06 +01: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
Toran Bruce Richards
04710ae57b Implements counting of exact tokens 🚀 2023-04-03 11:26:09 +01:00
Toran Bruce Richards
5a669d96eb Evaluated code should not be JSON. 2023-04-03 11:25:43 +01:00
Toran Bruce Richards
1e73ee2958 Adds todo comment. 2023-04-03 11:24:36 +01:00
Toran Bruce Richards
c86b6e2013 Updates requirements.txt 2023-04-03 11:23:54 +01:00
Taylor Brown
7fd2ce2bc6 Clean up where last_run_settings go 2023-04-02 22:12:14 -05:00
Taylor Brown
4173b07bce Remove excessive debug text 2023-04-02 22:12:12 -05:00
Taylor Brown
afceca0625 Remove commented code from ai_config 2023-04-02 22:11:06 -05:00
Toran Bruce Richards
0c1636565f Fixes missing openai import 2023-04-03 03:57:51 +01:00
Toran Bruce Richards
aed8c5b469 Fixes openai key not set error. 2023-04-03 03:57:38 +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
744c5fa25b Remove hardcoding of gpt-3.5-turbo in favor of config 2023-04-02 21:38:21 -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
Toran Bruce Richards
8cf4bf9278 Adds minor sponsors 💖 2023-04-03 02:50:34 +01:00
Toran Bruce Richards
f9031cfc47 Adds new public major sponsors to readme. 2023-04-03 02:44:58 +01:00
Toran Bruce Richards
f106f36c0a Merge pull request #53 from Torantulino/add-license-1
Create LICENSE
2023-04-03 12:02:43 +12:00
Toran Bruce Richards
b458b1c0f2 Create LICENSE 2023-04-03 01:01:45 +01:00
Taylor Brown
3e587bc7fb Make the json_parser more robust
For some reason the bot keeps prefacing its JSON. This fixes it for now.
2023-04-02 18:50:51 -05:00
Taylor Brown
a47da497b5 Fix requirements-alternative.txt to include the original requirements.txt 2023-04-02 18:34:42 -05:00
Taylor Brown
28c18adff0 Merge master to fixes_gpt3 2023-04-02 18:30:28 -05:00
Tom Viner
1e892bfb05 don't depend on the path script is run from 2023-04-03 00:07:18 +01:00
Toran Bruce Richards
64af11f4ab Merge pull request #32 from eltociear/patch-1
fix typo in browse.py
2023-04-03 10:52:40 +12:00
Toran Bruce Richards
c25c1751a2 Merge branch 'environment-variables' of https://github.com/jcp/Auto-GPT 2023-04-02 23:40:53 +01:00
Taylor Brown
10833c86b7 Add pyyaml package to requirements 2023-04-02 17:37:30 -05:00
Taylor Brown
dca5b78bfe Add missing json_parser.py and add alternative requirements
This adds fix_and_parse_json
Also, add requirements-alternative.txt to help install reqs in a different environment
2023-04-02 17:34:11 -05:00
Toran Bruce Richards
7ee7399584 Merge pull request #41 from UnixPNG/master
Fix mistake in docs
2023-04-03 10:25:00 +12:00
Toran Bruce Richards
5d82702155 Merge pull request #44 from joaorafaelm/master
Add Dockerfile and update requirements.txt.
2023-04-03 10:21:25 +12:00