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
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
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
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
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
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
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
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
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
765210f0cd
Add extra documentation
2023-04-03 14:10:02 +02:00
Andres Caicedo
8e2074f483
Merge branch 'master' into dev
2023-04-03 13:51:36 +02: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
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
Taylor Brown
afceca0625
Remove commented code from ai_config
2023-04-02 22:11:06 -05:00
Toran Bruce Richards
0c1636565f
Fixes missing openai import
2023-04-03 03:57:51 +01:00
Toran Bruce Richards
aed8c5b469
Fixes openai key not set error.
2023-04-03 03:57:38 +01:00
Taylor Brown
30f8ed95e1
Remove unused imports
2023-04-02 21:52:50 -05:00
Taylor Brown
ae9448cb89
Consolidate calls to openai
...
Starting to abstract away the calls to openai
2023-04-02 21:51:07 -05: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
80ccd10d0b
Use gpt-4 by default for the main thought process
...
Allow specifying the llm through dotenv
Move more things into config
2023-04-02 21:35:28 -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
Taylor Brown
28c18adff0
Merge master to fixes_gpt3
2023-04-02 18:30:28 -05:00
Tom Viner
1e892bfb05
don't depend on the path script is run from
2023-04-03 00:07:18 +01:00
Toran Bruce Richards
64af11f4ab
Merge pull request #32 from eltociear/patch-1
...
fix typo in browse.py
2023-04-03 10:52:40 +12:00
Taylor Brown
10833c86b7
Add pyyaml package to requirements
2023-04-02 17:37:30 -05:00
Taylor Brown
dca5b78bfe
Add missing json_parser.py and add alternative requirements
...
This adds fix_and_parse_json
Also, add requirements-alternative.txt to help install reqs in a different environment
2023-04-02 17:34:11 -05:00
Taylor Brown
2b5a7cc485
Add missing properties to config.py
2023-04-02 17:17:46 -05:00
Taylor Brown
9ff7e5954b
Make compatible with gpt-3.5
...
I made the json parsing more forgivable. I improved the prompt, using things I learned from: Koobah/Auto-GPT
2023-04-02 16:39:17 -05:00
Taylor Brown
f808710528
Attempt to improve JSON handling in GPT-3
2023-04-02 14:48:35 -05:00
Andres Caicedo
eac5c1f6e6
Add documentation
2023-04-02 19:03:37 +02:00
Ikko Eltociear Ashimine
0d94711d76
fix typo in browse.py
...
specifc -> specific
2023-04-03 00:34:01 +09:00
James C. Palmer
5e746afef8
Use `load_dotenv()` in `chat.py` and `speak.py`.
2023-04-02 09:32:25 -04:00
Toran Bruce Richards
99a33023c4
Fixes incorrect handling of openai RateLimitExceeded errors.
2023-04-02 13:46:31 +01:00
James C. Palmer
ef656a0f77
Remove `keys.py` and replace with `python-dotenv`.
...
- Removed `keys.py`.
- Added `.env.template`.
- Added `.env` to `.gitignore`.
- Updated various files that imported `keys` to use `os.getenv` instead.
- Updated `requirements.txt` dependencies.
- Updated README.md with instructions on setting up environment variables.
This change improves security, flexibility, and makes it easier to use Auto-GPT in notebooks. Environment variables are stored in `.env` and loaded via `load_dotenv()` in `scripts/main.py`.
2023-04-02 06:39:55 -04:00
James C. Palmer
cffe083ff2
Move requirements.txt to root directory.
2023-04-02 05:44:45 -04:00
Torantulino
01b3ef2f66
Automated changes
2023-04-02 08:58:19 +00:00
Torantulino
abdc7f447c
Adds comment to call_ai_function.
2023-04-02 09:56:53 +01:00
Torantulino
0a290927a0
Reformats with "Black" formatter.
2023-04-02 09:55:44 +01: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
40921f88f1
Merge branch 'master' of https://github.com/Torantulino/Entrepreneur-GPT
2023-04-02 07:40:44 +01:00
Torantulino
850847b9ec
Fixes print_to_console sometiems speaking text when speaking is disabled.
2023-04-02 07:40:32 +01:00
egokick
be851e391b
Add missing docker requirement
2023-04-01 15:59:33 -07: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
29d8fa5d38
First imeplementation of execute_code.
...
This is too limited by it's sandboxing by RestrictedPython.
2023-04-01 14:37:50 +01:00
Torantulino
acaa6e394a
Fixes bug: Agent 0 does not exist
2023-04-01 14:24:59 +01:00
Torantulino
3edae91524
Implements Code Improvement, powered by AI Functions.
2023-04-01 10:35:32 +01:00
Torantulino
8767018c1e
Adds AI functions.
...
These are no-code functions written by AI.
2023-04-01 10:34:32 +01:00
Torantulino
a608d8dbdc
Adds full file I/O
2023-04-01 04:08:30 +01:00
Toran Bruce Richards
73e845e285
Update prompt.txt
2023-04-01 03:28:17 +01:00
Torantulino
ffeb1aca73
Implements handling of OpenAI rate limit error.
2023-04-01 01:30:13 +01:00
Toran Bruce Richards
d71ba8ff65
Update keys.py
...
Accidentally leaked keys, old keys disabled ;)
2023-03-31 22:54:47 +01:00
Torantulino
7f98e8adfe
Deletes old output renderer and renames AutonomousAI folder to scripts
2023-03-31 22:49:17 +01:00