Commit Graph

108 Commits

Author SHA1 Message Date
Toran Bruce Richards
447cb4bdfe Merge pull request #260 from fabricehong/fix_remove_tab_in_json_str
fix(json_parser): remove the tab character that can be present in the…
2023-04-06 10:00:13 +01:00
Toran Bruce Richards
ba615fb883 Merge pull request #275 from master312/master
Added fake user-agent headers to browser request.
2023-04-06 09:53:59 +01:00
Toran Bruce Richards
b8f2dd59c8 Fixes "/" search not working. 2023-04-06 09:23:03 +01:00
Toran Bruce Richards
7080881d56 Merge pull request #220 from slavakurilyak/add-search-files-command
Add search_files command to the project
2023-04-06 09:18:58 +01:00
Toran Bruce Richards
c92eebc11c Merge pull request #208 from slavakurilyak/add_is_valid_int_and_key_validation
Improve Key Validation and Handling in Overwrite Memory and Message Agent Functions
2023-04-06 08:50:11 +01:00
Toran Bruce Richards
a55a64c1c9 Adds voice index back in.
Agents now have a different voice again.
2023-04-06 08:46:57 +01:00
Toran Bruce Richards
dcc29a5568 Fixes broken reference to speak.say_text 2023-04-06 08:29:28 +01:00
Toran Bruce Richards
962fc9a42a Changes string_key_memory to permanent_memory.
Fixes:
```Command memory_ovr returned: Error: module 'memory' has no attribute 'string_key_memory'```
2023-04-06 08:07:54 +01:00
Toran Bruce Richards
415bdaad59 Merge pull request #170 from thepok/master
More logical Prompt - found by Agusx1211
2023-04-06 07:56:44 +01:00
Toran Bruce Richards
ce646f7a3f Merge pull request #167 from ImPavloh/patch-1
Refactor load_prompt function
2023-04-06 07:55:10 +01:00
Petar Ostojic
62854afe68 Added fake user-agent headers to browser request. 2023-04-05 23:44:16 +02:00
Fabrice Hong
ffb95eb031 fix(json_parser): remove the tab character that can be present in the generated json. It makes the json.loads function throw an Invalid JSON error 2023-04-05 20:20:24 +02:00
slavakurilyak
b418861d70 Update message_agent function to support string keys 2023-04-04 20:53:41 -05:00
slavakurilyak
1e47328079 Add search files command 2023-04-04 20:32:15 -05:00
slavakurilyak
ed5952782f Improve key validation and handling in overwrite_memory and message_agent functions 2023-04-04 15:53:59 -05:00
thepok
624e5b8a18 More logical Prompt - found by Agusx1211 2023-04-04 15:21:46 +02:00
Toran Bruce Richards
e1d3cc9492 Fixes:
TypeError: eleven_labs_speech() missing 1 required positional argument: 'text'
2023-04-04 13:09:33 +01:00
Pavloh
8150f0c813 Refactor load_prompt function
Simplify the load_prompt function by eliminating redundancy
2023-04-04 13:24:14 +02:00
Toran Bruce Richards
e1cf66b791 Merge branch 'master' into ddg-search 2023-04-04 22:05:17 +12:00
Toran Bruce Richards
8747ff64b9 Merge pull request #129 from prestoj/ask-questions-on-websites
Ask questions when browsing websites
2023-04-04 21:44:16 +12:00
Toran Bruce Richards
e1472b7074 Merge pull request #149 from Void-n-Null/master
Added a default (free) library for text to speech
2023-04-04 21:08:39 +12:00
Toran Bruce Richards
01cce1b570 Merge pull request #94 from PhilipAD/'google_search'-command-instead-of-'google'-command
Fix Issue with command hallucination 💭
2023-04-04 21:05:36 +12:00
Toran Bruce Richards
4d4ff658ab Update scripts/data.py 2023-04-04 10:04:02 +01:00
Toran Bruce Richards
8b3c2fee2e Update scripts/data.py 2023-04-04 10:03:30 +01:00
Toran Bruce Richards
c3288dcca8 Merge branch 'master' into fix-prompt-path 2023-04-04 21:02:35 +12:00
Toran Bruce Richards
6d86444b6f Renames FOLDER to SRC_DIR 2023-04-04 10:00:53 +01:00
Toran Bruce Richards
4c66cd6f4a Renames FOLDER to SRC_DIR 2023-04-04 10:00:40 +01: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
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
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
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
7e529e19d9 Removes print. 2023-04-04 00:24:22 +01: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
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
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
Toran Bruce Richards
51e293f64c Adds --gpt3only mode! 2023-04-03 15:46:46 +01:00