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
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
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
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
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
Taylor Brown
2b5a7cc485
Add missing properties to config.py
2023-04-02 17:17:46 -05:00
Taylor Brown
9ff7e5954b
Make compatible with gpt-3.5
...
I made the json parsing more forgivable. I improved the prompt, using things I learned from: Koobah/Auto-GPT
2023-04-02 16:39:17 -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
Ikko Eltociear Ashimine
0d94711d76
fix typo in browse.py
...
specifc -> specific
2023-04-03 00:34:01 +09: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
James C. Palmer
cffe083ff2
Move requirements.txt to root directory.
2023-04-02 05:44:45 -04:00
Torantulino
01b3ef2f66
Automated changes
2023-04-02 08:58:19 +00:00
Torantulino
abdc7f447c
Adds comment to call_ai_function.
2023-04-02 09:56:53 +01:00
Torantulino
0a290927a0
Reformats with "Black" formatter.
2023-04-02 09:55:44 +01:00
Torantulino
b4685f67e6
Apply autopep8 formatting to entire codebase
2023-04-02 09:13:15 +01:00
Torantulino
a2e5de7469
Removes "check_news" command.
...
This command is made redundant by the browse_website command.
2023-04-02 09:12:08 +01:00
Torantulino
40921f88f1
Merge branch 'master' of https://github.com/Torantulino/Entrepreneur-GPT
2023-04-02 07:40:44 +01:00
Torantulino
850847b9ec
Fixes print_to_console sometiems speaking text when speaking is disabled.
2023-04-02 07:40:32 +01:00
egokick
be851e391b
Add missing docker requirement
2023-04-01 15:59:33 -07:00
Torantulino
de975d3bf9
Implements code execution command!
...
This allows the AI to execute code inside it's workspace folder.
2023-04-01 16:01:36 +01:00
Torantulino
29d8fa5d38
First imeplementation of execute_code.
...
This is too limited by it's sandboxing by RestrictedPython.
2023-04-01 14:37:50 +01:00
Torantulino
acaa6e394a
Fixes bug: Agent 0 does not exist
2023-04-01 14:24:59 +01:00
Torantulino
3edae91524
Implements Code Improvement, powered by AI Functions.
2023-04-01 10:35:32 +01:00
Torantulino
8767018c1e
Adds AI functions.
...
These are no-code functions written by AI.
2023-04-01 10:34:32 +01:00
Torantulino
a608d8dbdc
Adds full file I/O
2023-04-01 04:08:30 +01:00
Toran Bruce Richards
73e845e285
Update prompt.txt
2023-04-01 03:28:17 +01:00
Torantulino
ffeb1aca73
Implements handling of OpenAI rate limit error.
2023-04-01 01:30:13 +01:00
Toran Bruce Richards
d71ba8ff65
Update keys.py
...
Accidentally leaked keys, old keys disabled ;)
2023-03-31 22:54:47 +01:00
Torantulino
7f98e8adfe
Deletes old output renderer and renames AutonomousAI folder to scripts
2023-03-31 22:49:17 +01:00