Commit Graph

131 Commits (cb14c8d999c32c89215be04d27fe132a149eb047)

Author SHA1 Message Date
BillSchumacher cb14c8d999
Implement local memory. 2023-04-07 18:13:18 -05: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
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
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 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
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
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
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