Commit Graph

478 Commits (643ca9d084564a62c7c8f77e6e8274dc5ee51773)

Author SHA1 Message Date
Andres Caicedo 238824553a Update chat.py
Standardize importation of libraries to top.
2023-04-04 10:58:38 +02:00
Andres Caicedo 1b7b367ce9 Update call_ai_function.py
Standardize importation of libraries to top.
2023-04-04 10:56:56 +02:00
Toran Bruce Richards 3088050d82
Merge pull request #154 from mapleeit/patch-1
fix(prompt): fix typos
2023-04-04 20:55:13 +12:00
Andres Caicedo 772d4beb21 Update browse.py
Just import GET from requests library.
2023-04-04 10:54:52 +02:00
Toran Bruce Richards 364b7724a9
Merge pull request #133 from prestoj/human-feedback-in-manual-mode
human feedback in manual mode
2023-04-04 20:53:54 +12:00
Andres Caicedo 39f758ba5c Update browse.py
Add separation between code blocks and standardize dictionary definition.
2023-04-04 10:53:47 +02:00
Andres Caicedo 1b4a5301d0 Update ai_functions.py
Just import dumps from JSON library.
2023-04-04 10:49:28 +02:00
Andres Caicedo 27bf7c47e9 Update ai_functions.py
Unnecessary spaces
2023-04-04 10:48:19 +02:00
Andres Caicedo cd164648ba Update ai_config.py
Add separation between code blocks.
2023-04-04 10:47:04 +02:00
Andres Caicedo b6344b98e2 Update main.py
Add separation between code blocks.
2023-04-04 10:46:02 +02:00
Toran Bruce Richards f294ba8605
Merge pull request #147 from yousefissa/yi-fix-print-assistant-thoughts
fix assistant thoughts failure on string type
2023-04-04 20:43:58 +12:00
Andres Caicedo e2892a92a1 Merge branch 'master' into dev 2023-04-04 10:37:42 +02:00
Zhaofeng Miao 4650882d97
fix(prompt): fix typos 2023-04-04 16:37:23 +08:00
Master Blood 68e4af8685 Added a default (free) library for text to speech
Adds the gTTS (Google Text-to-Speech) Python library as a fallback for text-to-speech conversion in the speak.py file. The changes were made to ensure that users can still convert text to speech even if the ElevenLabs API key is not set or if the API encounters an error. Additionally, the requirements.txt file has been updated to include the new gTTS dependency.
2023-04-03 22:38:01 -07:00
yousefissa 570c161e5e add final exception handling back 2023-04-03 22:21:42 -07:00
yousefissa 82da7f1681 fix assistant thoughts failure on string type 2023-04-03 22:19:32 -07:00
Preston Jensen 2af9cf853a human feedback in manual mode 2023-04-03 20:12:11 -06:00
Toran Bruce Richards 4839a0d89b
Merge pull request #112 from TookTheRedBean/master
fix: OpenAPI key variable name typo
2023-04-04 13:26:10 +12:00
Preston Jensen 8a08b0c01b ask questions on websites 2023-04-03 19:20:42 -06:00
Malik M Alnakhaleh 8aca546bc0
Merge pull request #1 from MalikMAlna/MalikMAlna-patch-1
Update README.md
2023-04-03 20:55:06 -04:00
Malik M Alnakhaleh c74ad984cf
Update README.md 2023-04-03 20:54:12 -04:00
Toran Bruce Richards f6c201f038
Merge pull request #102 from yousefissa/yi-fix-print-thoughts-failures
fix: UnboundLocalError: local variable 'assistant_thoughts_reasoning' referenced before assignment
2023-04-04 11:38:35 +12:00
TookTheRedBean 7556bac42e
Merge branch 'Torantulino:master' into master 2023-04-03 16:38:31 -07:00
Toran Bruce Richards e612b119d3
Merge pull request #81 from yousefissa/yi-write-to-file
Fix: create file dir if it doesnt exist during write_to_file
2023-04-04 11:27:37 +12:00
Toran Bruce Richards b7854fdb00
Merge pull request #111 from russellocean/master
Added support for Google Custom Search API
2023-04-04 11:24:51 +12:00
Toran Bruce Richards 7e529e19d9
Removes print. 2023-04-04 00:24:22 +01:00
Andres Caicedo 301ff85fd5 Update main.py
Introduce check to OPENAI_API_KEY
2023-04-04 00:15:17 +02:00
yousefissa 8753eba22c comments 2023-04-03 14:55:30 -07:00
yousefissa 04c43432c2 cleanup method 2023-04-03 14:53:19 -07:00
kminer 79f0882dfc fix: OpenAPI key variable name typo 2023-04-03 15:35:01 -06:00
russellocean 064a2af9b5
Added back .env.template 2023-04-03 17:29:55 -04:00
russellocean 5c8ed15fee
Delete .DS_Store 2023-04-03 17:07:53 -04:00
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
ryanmac a5048aed56 Fix .gitignore to include the correct path to auto_gpt_workspace 2023-04-03 14:20:45 -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
“Philip 962a5bb76c Fix Issue with command hallucination 💭
Fixes an issue where it hallucinates on "COMMANDS" 💭
2023-04-03 19:44:12 +01: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
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