Commit Graph

543 Commits (bf24cd9508316031b2f914359460363d2fb75c04)

Author SHA1 Message Date
Chris Cheney 3ffff9f112 Merge branch 'master' of github.com:Torantulino/Auto-GPT into attr-error-lower 2023-04-11 22:51:53 -05:00
Robin Richtsfeld afc7fa6e26
Fix JSON formatting in prompt.txt 2023-04-12 03:09:08 +02:00
Robin Richtsfeld 8d7e0153f0
Fix Spinner 2023-04-12 02:26:30 +02:00
JZ 9725c727da
Changed spelling from "GTP" to "GPT". Also removed the 3 as this can run on GPT4. 2023-04-11 16:22:26 -07:00
Denis Mozhayskiy 990297b463 Easy run bat files with requirements check 2023-04-12 02:18:07 +03:00
Wlad edf364efe8 Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error 2023-04-11 23:32:31 +02:00
meta-fx 570f76bd51 Removed trailing spaces and fixed CRLF being removed 2023-04-11 14:44:22 -05:00
Alrik Olson 7a0c9e8a9d fix attempts to import a non-existent module 2023-04-11 10:30:53 -07:00
Alrik Olson 72d4783a1d formatting 2023-04-11 09:21:20 -07:00
Alrik Olson b73bca6b2d Merge remote-tracking branch 'origin/master' into prompt-generator 2023-04-11 09:17:36 -07:00
Alrik Olson fd1cfd2eff Add docs and format code 2023-04-11 09:15:45 -07:00
Alrik Olson b19eb74874 Refactor the seed prompt to be generated programmatically
This removes the tedium of having to re-number every numbered item in the prompt.txt if you want to add/remove commands.
2023-04-11 09:09:59 -07:00
Slava Kurilyak (slavakurilyak.eth) e9e4f11b4a
Merge branch 'master' into security-and-robustness-improvements 2023-04-11 09:32:51 -06:00
kinance e0cb648858 Make the cfg.debug to cfg.debug_mode consistent across files 2023-04-11 23:01:49 +09:00
PierreBastiani dbb78b636f check for authorise 'y' without trailing space 2023-04-11 14:57:29 +01:00
meta-fx efd6a7ecf5
Merge branch 'master' into added-new-voice 2023-04-11 08:39:15 -05:00
meta-fx 3cdde2d49c Resolved conflicts in config.py and speak.py 2023-04-11 08:15:58 -05:00
Toran Bruce Richards d7b747600d
Merge pull request #782 from onekum/patch-1
Change "an" to "a"
2023-04-11 12:55:27 +01:00
Peter Edwards 23f46adc61
Merge branch 'Torantulino:master' into more_azure 2023-04-11 13:54:07 +02:00
Itamar Friedman 1210ba41d0 Merge remote-tracking branch 'upstream/master' 2023-04-11 14:47:28 +03:00
Peter Edwards 9d33a75083 Changes for Azure embedding handling 2023-04-11 13:45:37 +02:00
coditamar f6c8a0f289
Merge branch 'master' into browse_scrape_links_test_and_validate 2023-04-11 14:43:57 +03:00
Toran Bruce Richards 186a8c615e
Merge pull request #678 from kinance/kinance-resolve-debug-config-conflict
Resolve the conflict around debug mode flag after pull merge
2023-04-11 12:34:01 +01:00
Toran Bruce Richards ff7c000c83
Merge pull request #786 from kinance/kiannce-remove-duplicate-debug-mode
Remove duplicates of set debug mode func
2023-04-11 12:31:44 +01:00
kinance b06974904c Remove duplicates of set debug mode func 2023-04-11 19:26:23 +09:00
Rokniel 63d3238c6c
Merge branch 'master' into azure-deployment-additions 2023-04-11 12:21:46 +03:00
onekum b90f355e7d
Change "an" to "a"
Grammar error: In English, only words starting with (a, e, i, o, u) get "an".
2023-04-11 05:01:02 -04:00
Itamar Friedman 64c21ee8f7 browse: make scrape_links() & scrape_text() "status_code >= 400" error message the same 2023-04-11 11:40:52 +03:00
Itamar Friedman 2d5d0131bb browse: (1) apply validation also to scrape_links(), (2) add tests for scrape_links() 2023-04-11 11:17:07 +03:00
Andy Melnikov d12da33e55 Fix flake8 W293 and W391 2023-04-11 07:53:32 +02:00
Toran Bruce Richards 5a6e565c52
Merge pull request #706 from Sma-Das/remove_imports
[Cleanup] Removed unneeded imports
2023-04-11 06:17:44 +01:00
BillSchumacher 66d316a19c
Fix case where index throws value error. 2023-04-10 21:55:35 -05:00
Toran Bruce Richards 3ed3f16d14
Merge pull request #242 from bituq/master
Fixed speech blocking main thread
2023-04-11 03:31:04 +01:00
Bernhard Mueller aba7956f10
Merge branch 'master' into shellcommands 2023-04-11 09:25:53 +07:00
meta-fx 3ee62211db Fixed formatting issues 2023-04-10 20:56:27 -05:00
Toran Bruce Richards 95f9380f13
Merge pull request #747 from BillSchumacher/fix-json-error
Update json_utils.py
2023-04-11 02:06:15 +01:00
meta-fx 0cf790b633 Added new env variable and speech function for alternative TTS voice 2023-04-10 20:00:43 -05:00
BillSchumacher efcc6a3f76
Update json_utils.py
This was used differently in a local branch and an error.
2023-04-10 19:50:40 -05:00
Wlad 365ef9b50b cleanup 2023-04-11 01:57:49 +02:00
BillSchumacher 1b128a1ef0
Use UTF-8 encoding for Windows users. 2023-04-10 18:50:54 -05:00
kinance 3695c1e0e6
Merge branch 'Torantulino:master' into kinance-resolve-debug-config-conflict 2023-04-11 08:49:43 +09:00
Wlad a86948fa23 include broken json in error log 2023-04-11 01:31:18 +02:00
Wlad 87a2cf029d try another fix 2023-04-11 01:30:07 +02:00
Wlad e80091c482 Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error 2023-04-11 01:27:27 +02:00
Wlad 82379bb416 fix dump 2023-04-11 01:02:45 +02:00
Dylan N 6ab197a9c5
Merge branch 'master' into master 2023-04-11 00:52:28 +02:00
Bituq 353785d23d Fix macos_tts_speech merge conflict 2023-04-11 00:50:57 +02:00
Toran Bruce Richards ed581461df
Merge pull request #712 from nponeccop/pr-whitespace2
Remove trailing whitespace throughout
2023-04-10 23:02:31 +01:00
Toran Bruce Richards 78d2d57b8d
Merge pull request #702 from yoshikouki/clean-up-command
Remove unnecessary assignments
2023-04-10 23:00:15 +01:00
Toran Bruce Richards 7c5e3b03c5
Merge pull request #690 from onekum/patch-2
Restrict browse from accessing local files
2023-04-10 22:57:02 +01:00
Toran Bruce Richards cdcec2f619
Merge pull request #648 from pratiksinghchauhan/fix-#323-error-communicating-to-openai
Fix #323 Error communicating with OpenAI: Invalid URL 'your-base-url-for-azure/embeddings'
2023-04-10 22:46:46 +01:00
Toran Bruce Richards 3aade672b6
Merge pull request #637 from Wladastic/use-macos-tts-instead-of-gtts
add config to use mac os tts instead of elevenlabs or gtts
2023-04-10 22:42:55 +01:00
Toran Bruce Richards 0eab8d1087
Merge pull request #633 from Sma-Das/clean_input
[Utility] Created clean_input to cleanly exit KeyboardInterrupts
2023-04-10 22:39:45 +01:00
Wladastic 4ad1fc14a4 use regex instead of re 2023-04-10 22:59:16 +02:00
keenborder786 334a1d2632
[feat]: Added a argument which allows gpt4 only mode and configure the fast_llm_model accordingly 2023-04-11 01:23:59 +05:00
Wlad ca4afca5da add log when json was fixed. 2023-04-10 21:48:00 +02:00
Wladastic 33d1fd3d6d attempt fix 2023-04-10 21:30:21 +02:00
Richard Beales f69e46208e remove trailing newline 2023-04-10 19:50:56 +01:00
Richard Beales c6bdb0f0ba remove trailing newline 2023-04-10 19:50:13 +01:00
Richard Beales f727f5d9ea Merge https://github.com/richbeales/Auto-GPT 2023-04-10 19:36:04 +01:00
Richard Beales 081415ab6c fix merge conflict 2023-04-10 19:32:52 +01:00
Wladastic 1f9d66b745 Merge branch 'master' into fix-user-feedback-json-error 2023-04-10 19:45:39 +02:00
Wlad bb36634b46 fix line 328 error 2023-04-10 19:40:55 +02:00
Andy Melnikov c9701a3302 Remove trailing whitespace throughout 2023-04-10 18:17:11 +02:00
Bernhard Mueller 9598679180
Merge branch 'master' into shellcommands 2023-04-10 23:16:39 +07:00
onekum b60c7518b0
Rework local file address blocks
add `def check_local_file_access`, which defines and checks for local file address prefixes; use it to restrict access
2023-04-10 12:10:28 -04:00
Slava Kurilyak (slavakurilyak.eth) 16c3cc9e23
Merge branch 'master' into security-and-robustness-improvements 2023-04-10 09:50:51 -06:00
Sma Das 5c1c3f9c7e
Added exit message on `KeyboardInterrupt` 2023-04-10 11:31:43 -04:00
Sma Das cd07115a39
Removed trailing whitespace 2023-04-10 11:29:15 -04:00
Sma Das 8cf58d00cf Removed unneeded imports 2023-04-10 10:57:47 -04:00
Sma Das cf1856aa25
Merge branch 'master' into clean_input 2023-04-10 10:50:05 -04:00
Dylan N 88a802a675
Remove voice_settings parameters
I removed the voice_settings parameters as it was an irrelevant change.
2023-04-10 16:44:01 +02:00
kinance 389cc82a5a
Merge branch 'Torantulino:master' into kinance-resolve-debug-config-conflict 2023-04-10 23:08:25 +09:00
yoshikouki 527e084f39 Remove unnecessary assignments 2023-04-10 22:57:41 +09:00
Kari Ahdan a504f0bdd3 Add required env parameters for azure usage 2023-04-10 16:43:06 +03:00
Toran Bruce Richards 4d42e14d3d
Merge pull request #695 from cryptidv/master
Changed occurances of 'cfg.debug_mode'  to 'cfg.debug'
2023-04-10 14:35:51 +01:00
Wlad 66b36e9879 fix json parser - messy 2023-04-10 15:35:10 +02:00
Toran Bruce Richards c300276d6d Change debug_mode to debug in chat.py. 2023-04-10 14:32:13 +01:00
Toran Bruce Richards 37b4473137 Fixes extra arg given in chat-with-ai call in main 2023-04-10 14:23:20 +01:00
cryptidv 026361aa3a Changed occurances of 'cfg.debug_mode' to 'cfg.debug' 2023-04-10 14:22:58 +01:00
onekum fa8461be9d
Restrict browse from accessing local files 2023-04-10 09:21:43 -04:00
Pratik Singh Chauhan 72f609fd26
Merge branch 'master' into fix-#323-error-communicating-to-openai 2023-04-10 18:24:45 +05:30
Toran Bruce Richards 186235f488 Fixes missing cfg in main.py 2023-04-10 13:54:27 +01:00
Wladastic 826a9c8452
Merge branch 'master' into use-macos-tts-instead-of-gtts 2023-04-10 14:47:28 +02:00
Toran Bruce Richards e87b6912bd
Merge branch 'master' into add_documentation 2023-04-10 13:43:24 +01:00
Toran Bruce Richards 78315a99ee
Merge branch 'master' into pr-whitespace 2023-04-10 13:35:47 +01:00
Toran Bruce Richards 93c2582705
Merge branch 'master' into master 2023-04-10 13:29:53 +01:00
Andy Melnikov 4a86da95f9 Remove trailing spaces throughout
This happens often in PRs so fixing this everywhere will make many PRs
mergeable as they won't include irrelevant whitespace fixes
2023-04-10 14:25:24 +02:00
Wlad 7e9941e5b1 fix whitespace 2023-04-10 14:17:18 +02:00
Wlad ec239734c5 fix whitespace 2023-04-10 14:15:30 +02:00
Toran Bruce Richards df01d6a4ac
Merge pull request #378 from eltociear/patch-2
fix typo in json_parser.py
2023-04-10 13:14:12 +01:00
Wlad 9dbc8c0455 Merge branch 'master' into use-macos-tts-instead-of-gtts 2023-04-10 14:13:48 +02:00
Toran Bruce Richards ecd448ca0f
Merge pull request #115 from AndresCdo/open_ai_api_key
Introduce check to OPENAI_API_KEY
2023-04-10 13:12:26 +01:00
Ikko Eltociear Ashimine bcf1606d8a
Merge branch 'master' into patch-2 2023-04-10 20:56:55 +09:00
kinance 5b2d6010dc Resolve the conflict around debug mode flag after pull merge 2023-04-10 20:10:11 +09:00
Toran Bruce Richards 97f853a79d
Merge pull request #33 from AndresCdo/dev
Add documentation
2023-04-10 12:07:42 +01:00
Toran Bruce Richards 1f0209bba7
Fixe incorrect Docstring 2023-04-10 12:07:16 +01:00
Wlad ed16bba0ca fix gtts_speech 2023-04-10 11:22:47 +02:00
Wlad 1946b564a1 fix gtts_speech 2023-04-10 11:22:24 +02:00
Wlad 64eb882947 fix code messup of assistant 2023-04-10 11:20:58 +02:00
Wlad 205a0c84cf fix config read 2023-04-10 11:18:17 +02:00
Wlad 2facc3e2cb add config for mac os tts 2023-04-10 11:11:03 +02:00
onekum b673302134
Make `do_nothing` line uniform 2023-04-10 04:43:34 -04:00
Andres Caicedo 4ca12e216d Merge branch 'master' into dev 2023-04-10 09:58:13 +02:00
Richard Beales 3e249b0557 Merge branch 'master' of https://github.com/Torantulino/Auto-GPT 2023-04-10 08:37:59 +01:00
Richard Beales 2fb06a3db5
trying to get the right amount of spacing / newlines at the end of main.py! 2023-04-10 08:14:48 +01:00
Richard Beales 9cea7c0f61
Update main.py 2023-04-10 08:11:54 +01:00
Richard Beales 1139b995e6
Merge branch 'Torantulino:master' into master 2023-04-10 08:09:06 +01:00
Toran Bruce Richards da6c0240de
Merge pull request #321 from dhensen/fix-call-ai-function
🛠️ 🧰 Fix call_ai_function storing gpt-4 into kwarg model even when using gpt3only
2023-04-10 08:08:55 +01:00
pratiksinghchauhan 89973e5eda Merge branch 'fix-#323-error-communicating-to-openai' of https://github.com/pratiksinghchauhan/Auto-GPT into fix-#323-error-communicating-to-openai 2023-04-10 12:31:40 +05:30
pratiksinghchauhan 156739788a removed un necessary changes 2023-04-10 12:31:37 +05:30
Pratik Singh Chauhan 15363cc38b
Merge branch 'master' into fix-#323-error-communicating-to-openai 2023-04-10 12:28:06 +05:30
Toran Bruce Richards f5bc36716b
Merge pull request #625 from coditamar/browse_scrape_text_tests_and_fix
scrape_text: (1) added tests , (2) handle RequestException
2023-04-10 07:56:04 +01:00
pratiksinghchauhan 13467259b4 fix: #323 Error communicating with OpenAI 2023-04-10 12:07:37 +05:30
Toran Bruce Richards 4b7f116455
Merge pull request #575 from onekum/do_nothing
Add a `do_nothing` command
2023-04-10 07:26:53 +01:00
Pratik Singh Chauhan c2e61a50ce
Merge branch 'Torantulino:master' into master 2023-04-10 11:51:31 +05:30
pratiksinghchauhan 33c8fe627a improve performance and removed code duplication 2023-04-10 11:39:52 +05:30
Richard Beales 36da740a33 Merge branch 'master' of https://github.com/Torantulino/Auto-GPT 2023-04-10 06:50:00 +01:00
Itamar Friedman da4a045bd6 Adding most basic URL validation in scrape_text 2023-04-10 08:26:46 +03:00
Bernhard Mueller 09d2f47e08 Introduce EXECUTE_SHELL_COMMANDS config var, default to False 2023-04-10 11:01:48 +07:00
Bernhard Mueller dd469bf2ae Change working directory during shell command execution 2023-04-10 10:26:54 +07:00
Bernhard Mueller 955b83c136 Make line in prompt more concise 2023-04-10 10:16:24 +07:00
Bernhard Mueller 64da02bf4a Fix merge conflicts 2023-04-10 10:14:35 +07:00
Wlad 3456090117 replace gtts with macos tts 2023-04-10 04:21:23 +02:00
Sma Das 9ef82275ca Updated `main.py` to use `clean_input` 2023-04-09 20:55:38 -04:00
Sma Das 41f5cd6b38 Created `utils.py` 2023-04-09 20:53:32 -04:00
Itamar Friedman b0cb247b83 scrape_text: added tests + hande RequestException 2023-04-10 00:18:37 +03:00
Slava Kurilyak (slavakurilyak.eth) fb36c14517
Merge branch 'master' into security-and-robustness-improvements 2023-04-09 14:56:09 -06:00
Chris Cheney a40943ab80 Merge branch 'master' of github.com:Torantulino/Auto-GPT into attr-error-lower 2023-04-09 15:45:52 -05:00
BillSchumacher b6444de25d
Fixes for common json errors, cleanup json_parser file. 2023-04-09 15:22:55 -05:00
Andres Caicedo c4ab35275a Remove whitespaces 2023-04-09 16:34:36 +02:00
Andres Caicedo 9105a9c7f8 Remove whitespaces 2023-04-09 16:31:04 +02:00
Richard Beales af7123f75c Merge branch 'master' of https://github.com/Torantulino/Auto-GPT 2023-04-09 15:23:05 +01:00
Andres Caicedo d05146c6c5 Delete unrelated changes with PR 2023-04-09 15:48:17 +02:00
Andres Caicedo 26abb30674 Merge branch 'master' into dev 2023-04-09 15:42:53 +02:00
Andres Caicedo 011699e6a1 Code review changes 2023-04-09 15:39:11 +02:00
Richard Beales 1096b1277c
Merge branch 'Torantulino:master' into master 2023-04-09 12:56:23 +01:00
Bernhard Mueller 7867c8dc34 Update prompt (advise GPT to use only shell commands that terminate) 2023-04-09 18:43:20 +07:00
Alexander Nikulin 546d8783e7 put debug setting to cfg and use it in when calling chat.chat_with_at and fix_json 2023-04-09 14:33:30 +04:00
Richard Beales b87d126e32
update print_to_console to log to a text file
Uses python logging module to output progress to a text file log.txt
2023-04-09 10:06:30 +01:00
Richard Beales 1badbb0c2e Merge branch 'master' of https://github.com/Torantulino/Auto-GPT 2023-04-09 10:04:06 +01:00
Richard Beales 287a76b03c add basic logging 2023-04-09 10:04:03 +01:00
onekum 93a92d92fc make `do_nothing` a valid command 2023-04-09 04:28:36 -04:00
onekum 56edfc6440 Tell AI about the `do_nothing` command 2023-04-09 04:28:23 -04:00
Toran Bruce Richards d8a7a811c8
Merge pull request #485 from awmorgan/fix_typo_in_prompt
fix typo in prompt.txt
2023-04-09 08:43:00 +01:00
Toran Bruce Richards 831cc70457
Merge pull request #491 from awmorgan/fix_command_error_check_1
fix command error check
2023-04-09 08:12:38 +01:00
Toran Bruce Richards fd0a4b3186
Merge branch 'master' into feature/time-and-date 2023-04-09 08:02:20 +01:00
Toran Bruce Richards 3923c19524
Merge pull request #559 from Torantulino/memory-improvements
Tweaks how memory is presented to the AI
2023-04-09 07:16:33 +01:00
Toran Bruce Richards a2fe619c7b Improves response to AI that sends wrong output. 2023-04-09 06:44:10 +01:00
Toran Bruce Richards d8410d9ca3 Makes it clearer to the AI exactly what memories are. 2023-04-09 06:16:42 +01:00
BillSchumacher a861dec676
Memory fixes. 2023-04-08 23:33:18 -05:00
Toran Bruce Richards 9e139fb314
Wipe local memory on load 2023-04-09 05:22:03 +01:00
BillSchumacher 2db7f0815e
Update main.py
Remove pinecone config requirement
2023-04-08 22:25:59 -05:00
Ryan Peach 47c6117e18 Added time and date to the system message for each context 2023-04-08 22:59:28 -04:00
Chris Cheney aa786e1b41
command_name null check before calling .lower()
fixes #534

`AttributeError: 'NoneType' object has no attribute 'lower'`
2023-04-08 21:30:36 -05:00
Toran Bruce Richards b63238f40f
Merge branch 'master' into redis-backend 2023-04-09 02:43:14 +01:00
Toran Bruce Richards d1777e39a8
Fixes incorrect class names in __all__
Changes "Cache" to "Memory".
2023-04-09 02:31:51 +01:00
Bill Morgan 7cba76228e fix command error check 2023-04-08 08:24:24 -05:00
Bill Morgan 3f66a6a0a3 fix typo in prompt.txt 2023-04-08 07:41:25 -05:00
Toran Bruce Richards 7e108d8ab3
Merge pull request #416 from blankey1337/feat/image-generation
🖼 Image Generation: Adds DALL-e and Stable Diffusion support
2023-04-08 12:27:55 +01:00
Toran Bruce Richards 8b36a5cfd3
Removes comment 2023-04-08 12:27:05 +01:00
Bernhard Mueller 66eb1dcfc5 Add exec_shell command 2023-04-08 12:39:03 +07:00
kinance c4c7350670 Revised the debug mode 2023-04-08 13:05:32 +09:00
kinance 91fe21e64d Revised to support debug mode from command line 2023-04-08 12:39:57 +09:00
Fábio Machado de Oliveira 9328c8f7b5 Settings were being saved and loaded in the wrong directory 2023-04-08 00:15:14 -03:00
BillSchumacher a34c51bf86
Update scripts/config.py
Co-authored-by: Jason Kölker <jason@koelker.net>
2023-04-07 20:58:00 -05:00
BillSchumacher d7ccaf45a9
Merge branch 'master' of github.com:Torantulino/Auto-GPT into redis-backend 2023-04-07 20:39:35 -05:00
keenborder786 b983faa953
[fix]: Added an exception in main.py if pinecone_api_key is not provided 2023-04-08 04:36:10 +05: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
Coley 77c98a0311 Removed doctest call 2023-04-07 16:57:39 -04:00
Coley 7ae5ffe389 linted changes 2023-04-07 16:52:50 -04:00
Coley 7f4a7d7ccd Added class, method and function doc strings 2023-04-07 16:47:09 -04:00
BillSchumacher 14e10c9c4d
Add configurable index key for redis. 2023-04-07 15:27:48 -05:00
BillSchumacher 5d13fb2546
Remove unused function. 2023-04-07 15:03:20 -05:00
blankey1337 091db1d4c3
chore(ImageGen): cleanup 2023-04-07 12:47:49 -07:00
blankey1337 f3e64ec4e9
feat(ImageGen): support env vars, update readme 2023-04-07 11:29:43 -07:00
blankey1337 b56b04e86f
feat(ImageGen): add DALL-E support 2023-04-07 11:03:23 -07:00
blankey1337 28cc9865e4
feat(ImageGen): add stable diffusion support 2023-04-07 08:02:48 -07:00
Ikko Eltociear Ashimine c1034df2d3
fix typo in json_parser.py
specifed -> specified
2023-04-07 17:25:22 +09:00
BillSchumacher cce79695fa
Save redis memory state, with the default being to wipe on start still. 2023-04-07 00:48:27 -05:00
BillSchumacher 5a1d9e6d0a
Implement redis memory backend. 2023-04-07 00:08:25 -05:00
blankey1337 57412bcf4e
add kandinsky support - cuda issue 2023-04-06 21:16:05 -07: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
Dino Hensen c1326469b2 The function default serialized gpt-4 value at import time, leading to yield a value of gpt-4 after setting gpt3only when not passing a value for model to the function when calling it, this fixes it 2023-04-06 17:15:40 +02:00
Dylan N 89853cf3b8
Merge branch 'master' into master 2023-04-06 14:04:26 +02:00
Dylan ef4a02757f Add semaphore to speak module 2023-04-06 14:02:39 +02:00
Toran Bruce Richards 4330f79373
Merge pull request #229 from ReadyG/patch-1
Added missing double quotes around name in the prompt.txt text file
2023-04-06 12:28:39 +01:00
Toran Bruce Richards 672bb5e620
Merge pull request #233 from russellocean/master
Implement custom continuous task count with 'y -n' command
2023-04-06 12:27:41 +01:00
Toran Bruce Richards f33ff6ea01
Merge pull request #256 from fabricehong/fix_fix-json-wrong-interpretation
fix(json-jixer): enclose arguments in a python multi-line string so t…
2023-04-06 12:06:28 +01:00
Toran Bruce Richards 61685c6f0b Renames last_run_ai_settings to ai_settings.
Hopefully this helps people realise they can edit it themselves.
2023-04-06 11:47:12 +01:00
Toran Bruce Richards a45ed8c42a Moves last_run_ai_settings.yaml to root so it's easier to find and use. 2023-04-06 11:46:13 +01:00
Toran Bruce Richards 9067a523fe
Merge branch 'master' into pinecone-memory 2023-04-06 11:05:01 +01:00
Dylan 0cbd2bb3d0 Fix voice_index not being used 2023-04-06 11:59:46 +02:00
Toran Bruce Richards a9451f4961
Merge pull request #258 from sweetlilmre/add-azure-compat
Added functionality to allow the use of GPT on a Microsoft Azure instance
2023-04-06 10:14:44 +01:00
Toran Bruce Richards 6f3bfe7ba0
Merge pull request #259 from fabricehong/fix_fix_json_returning_wrong_type
fixing the "TypeError('the JSON object must be str, bytes or bytearray, not dict')" after a json_fix is successful
2023-04-06 10:07:59 +01:00
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
Peter Edwards 34b6f47f71 Fix for boolean eval from .env 2023-04-06 09:15:45 +02: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
douglas 475671d1e8 Pinecone memory and memory usage tracking 2023-04-05 16:20:43 -04:00
Fabrice Hong 051be4df10 fix(json_parser): fixing the "TypeError('the JSON object must be str, bytes or bytearray, not dict')" after a json_fix is successful 2023-04-05 20:21:40 +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
Peter Edwards a868a39b88 Added functionality to allow the use of GPT on a Microsoft Azure instance 2023-04-05 19:44:28 +02:00
Fabrice Hong 29a45de253 fix(json-jixer): enclose arguments in a python multi-line string so the fix_json assistant (GPT-3.5) can understand we are providing 2 strings arguments instead of one 2023-04-05 19:09:56 +02:00
russellocean c8a927d3ec
Syntax Error, Revert formatting errors, remove 308 2023-04-05 10:28:50 -04:00
russellocean c8c8f5b11e
Apply suggestions from code review
Thanks to @Gerqus

Co-authored-by: Paweł Pieniacki <ppieniacki@gmail.com>
2023-04-05 10:19:56 -04:00
Bituq 73bf928c1d fixed speech blocking main thread 2023-04-05 15:50:28 +02:00
russellocean c1be8a7403
Implement custom continuous task count with 'y -n' 2023-04-05 00:56:15 -04:00
ReadyG 98a2b4d9a5
Update prompt.txt
Added double quotes around <name> on line 14.
2023-04-05 00:11:19 -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 a4f130ff60 Improve security and robustness in browse.py 2023-04-04 19:28:13 -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
Andres Caicedo 54cbf1cae1 Merge branch 'master' into dev 2023-04-04 12:21:26 +02:00
Toran Bruce Richards e1cf66b791
Merge branch 'master' into ddg-search 2023-04-04 22:05:17 +12:00
Andres Caicedo 239accbd82 Merge branch 'master' into dev 2023-04-04 11:47:37 +02: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
Andres Caicedo 6773e28b61 Merge branch 'master' into dev 2023-04-04 11:39:31 +02:00
Andres Caicedo 62615cacc9 Adds necessary spaces
Introduces spaces between code blocks.
2023-04-04 11:36:50 +02:00
Andres Caicedo 621f18eba7 Update json_parser.py
Introduces spaces between code blocks.
2023-04-04 11:34:28 +02:00
Andres Caicedo 1d10236a63 Update file_operations.py
Introduces spaces between code blocks.
2023-04-04 11:32:55 +02:00
Andres Caicedo d450ac3a0b Update execute_code.py
Just import path from OS library.
2023-04-04 11:31:20 +02:00
Andres Caicedo 1632f7ebf6 Update data.py
Just import path from OS library.
2023-04-04 11:30:20 +02:00
Andres Caicedo 8053ecd5c6 Update config.py
Introduce spaces between code blocks.
2023-04-04 11:29:02 +02:00
Andres Caicedo 632d87c195 Update commands.py
Just import datetime from datetime library.
2023-04-04 11:28:15 +02: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
Andres Caicedo 9699a1ca78 Update chat.py
Just import sleep from time library.
2023-04-04 11:03:09 +02:00
Toran Bruce Richards c3288dcca8
Merge branch 'master' into fix-prompt-path 2023-04-04 21:02:35 +12:00
Andres Caicedo 500b2b4836 Update chat.py
Adds code separation between code blocks.
2023-04-04 11:02:01 +02: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
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