Commit Graph

35 Commits

Author SHA1 Message Date
onekum
93a92d92fc make do_nothing a valid command 2023-04-09 04:28:36 -04:00
Toran Bruce Richards
a2fe619c7b Improves response to AI that sends wrong output. 2023-04-09 06:44:10 +01:00
Toran Bruce Richards
b63238f40f Merge branch 'master' into redis-backend 2023-04-09 02:43:14 +01:00
Toran Bruce Richards
8b36a5cfd3 Removes comment 2023-04-08 12:27:05 +01:00
BillSchumacher
503b58b794 Refactor memory into factory. 2023-04-07 18:30:04 -05:00
BillSchumacher
cb14c8d999 Implement local memory. 2023-04-07 18:13:18 -05:00
blankey1337
28cc9865e4 feat(ImageGen): add stable diffusion support 2023-04-07 08:02:48 -07:00
BillSchumacher
5a1d9e6d0a Implement redis memory backend. 2023-04-07 00:08:25 -05:00
BillSchumacher
6819799ebe Create an abstract MemoryProviderSingleton class. Pass config instead of instantiating a new one where used. 2023-04-06 22:25:17 -05:00
Toran Bruce Richards
9067a523fe Merge branch 'master' into pinecone-memory 2023-04-06 11:05:01 +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
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
douglas
475671d1e8 Pinecone memory and memory usage tracking 2023-04-05 16:20:43 -04: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
Toran Bruce Richards
e1cf66b791 Merge branch 'master' into ddg-search 2023-04-04 22:05:17 +12:00
Preston Jensen
8a08b0c01b ask questions on websites 2023-04-03 19:20:42 -06:00
Toran Bruce Richards
7e529e19d9 Removes print. 2023-04-04 00:24:22 +01: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
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
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
099a5e1090 Handles incorrect AI formatting in a more forgiving way. 2023-04-03 11:30:06 +01: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
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
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
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
3edae91524 Implements Code Improvement, powered by AI Functions. 2023-04-01 10:35:32 +01:00
Torantulino
a608d8dbdc Adds full file I/O 2023-04-01 04:08:30 +01:00
Torantulino
7f98e8adfe Deletes old output renderer and renames AutonomousAI folder to scripts 2023-03-31 22:49:17 +01:00