Commit Graph

1352 Commits (23d3dafc5152b5c7437a484d38e29f282fbc75ad)

Author SHA1 Message Date
russellocean cb6e8ee665 Template update and Added .DS_Store to .gitignore 2023-04-03 16:58:55 -04:00
russellocean 30d07d9102 Added google-api-python-client to requirements.txt 2023-04-03 16:49:05 -04:00
russellocean f2ba7f21c5 Added support for Google Custom Search API
This pull request adds functionality to the project to allow for a choice between the original Google search method and the Google Custom Search API. The google_search method uses the original method of scraping the HTML from the search results page, using googlesearch-python, while the google_official_search method uses the Google Custom Search API to retrieve search results.

How to test:

To test the functionality, ensure that you have valid API keys and search engine IDs for both the Google search method and the Google Custom Search API. You can set these values in your environment variables as described in the README.md file.

Additional Notes:

This pull request only adds functionality and makes improvements to existing code. No new features or major changes have been introduced.
2023-04-03 16:44:10 -04:00
yousefissa 8a5c9800e7 fix assistant plan variables being referenced before assignment 2023-04-03 13:00:50 -07:00
“Philip 6003d98f3a More specific wording
consistent escaping
2023-04-03 20:35:12 +01:00
ryanmac a5048aed56 Fix .gitignore to include the correct path to auto_gpt_workspace 2023-04-03 14:20:45 -05:00
ryanmac 6ea2a97e83
Rename requirements-new.txt to requirements-mac-Python-3.11.txt 2023-04-03 14:15:21 -05:00
Rafael Moraes 6306a033cc Fixed googlesearch dependency issue
Swapped the googlesearch package for the duckduckgo-search. It uses the ddg instant answer API and works very similarly to the googlesearch one.
2023-04-03 15:11:15 -04:00
ryanmac ac7fefe96e Use playwright instead of requests for browse 2023-04-03 14:05:32 -05:00
“Philip 962a5bb76c Fix Issue with command hallucination 💭
Fixes an issue where it hallucinates on "COMMANDS" 💭
2023-04-03 19:44:12 +01:00
Mike Harris 4cde35267b Improve extract_hyperlinks to honor base url 2023-04-03 12:51:50 -04:00
yousefissa 9ef4fab084 error handling back 2023-04-03 08:50:07 -07:00
yousefissa 4416aa1aa1 create file dir if it doesnt exist during write_to_file 2023-04-03 08:48:43 -07:00
Andres Caicedo a573224089 Merge branch 'master' into dev 2023-04-03 16:58:31 +02:00
Toran Bruce Richards 51e293f64c Adds --gpt3only mode! 2023-04-03 15:46:46 +01:00
Andres Caicedo ee753ed34c Merge branch 'master' into dev 2023-04-03 16:40:25 +02:00
Toran Bruce Richards df6c0f3122
Merge pull request #73 from 0xcha05/patch-1
better arg parsing
2023-04-04 02:37:54 +12:00
Andres Caicedo 8a29e71465 Merge branch 'master' into dev 2023-04-03 16:37:11 +02:00
0xcha05 c8149b0415
better arg parsing 2023-04-03 19:56:01 +05:30
Toran Bruce Richards 7649ca2ca2 Adds missing googlesearch-python requirement. 2023-04-03 15:13:34 +01:00
“Philip f20d6f3fdb Breaking on None and NaN values returned
fix by converting to valid null value for JSON
2023-04-03 15:07:47 +01:00
“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