Commit Graph

235 Commits

Author SHA1 Message Date
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
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
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