Commit Graph

42 Commits (5e18bb4b61ef953bf4f87e05df67993e90d28815)

Author SHA1 Message Date
chyezh 395d9d0481 enable milvus as memory backend 2023-04-15 21:20:30 +08:00
Dino Hensen d64f866bfa Convert to python module named autogpt.
Also fixed the Dockerfile.
Converting to module makes development easier.
Fixes coverage script in CI and test imports.
2023-04-14 10:27:41 -07:00
Eesa Hamza 6702a04f76 Add 'no_memory' support for memory flag 2023-04-14 01:50:13 +03:00
Richard Beales f4ff62f0cb
Flake8 linter fix E302 2023-04-13 18:57:14 +01:00
Richard Beales ff52b204c3
Merge pull request #1147 from Torantulino/richbeales-patch-2
Hotfix - re-add missing cfg variable to memory/base
2023-04-13 18:35:31 +01:00
Andy Melnikov 6bb4ca0bff Fix flake8 E302 2023-04-13 19:32:35 +02:00
Richard Beales 53c00b4199
Hotfix - re-add missing cfg variable to memory/base 2023-04-13 18:01:12 +01:00
Richard Beales 0ba2956ee4
Merge pull request #1014 from drikusroor/fix-flake8-issues-pt-2
Fix flake8 issues pt. 2 (Add E231 & E302 flake8 rules)
2023-04-13 17:56:06 +01:00
Pi a3efbd0bee
Merge pull request #1011 from cryptidv/redis-logging
Improved logging on connection fail to a Memory Backend
2023-04-13 15:47:41 +01:00
Pi dcf379c3e2
Merge pull request #1032 from merwanehamadi/feature/ability-have-no-memory
Feature/ability have no memory
2023-04-13 15:27:19 +01:00
Drikus Roor abe01ab81e fix: Fix flake8 linting errors 2023-04-13 11:05:36 +02:00
Drikus Roor d1ea6cf002 lint: Fix all E302 linting errors 2023-04-13 10:50:51 +02:00
Kasra Amini 0061976a91 Removed redundant cfg object creation in base memory file 2023-04-13 03:32:39 -04:00
Peter Edwards bcdb4e476f Merge remote-tracking branch 'upstream/master' into more_azure 2023-04-13 08:12:29 +02:00
Merwane Hamadi 84c128fd0f Create NoMemory provider as a memory provider that does not store any data 2023-04-12 17:48:11 -07:00
Merwane Hamadi 62bd93a4d2 Import NoMemory and add it as a memory_backend option in get_memory function 2023-04-12 17:48:08 -07:00
Eesa Hamza 76b5b95744 Attempt to fix Linter issues 2023-04-12 23:49:32 +03:00
Eesa Hamza 8c51fe8373 Added new logging function as an error or warning message 2023-04-12 23:38:53 +03:00
Eesa Hamza 5d871f04e6 Added pinecone connectivity check and added relevant logging 2023-04-12 23:29:54 +03:00
Eesa Hamza a850c27dd5 Improved logging on connection fail to redis 2023-04-12 23:13:34 +03:00
Drikus Roor 1f837968ff fix: Fix flake8 errors based on the flake8 command with a narrower definition of errors 2023-04-12 22:12:25 +02:00
Richard Beales 7e3ff66494
Merge pull request #913 from chozzz/bugfix-823
Bugfix for #840 - Local memory fix
2023-04-12 20:07:50 +01:00
Richard Beales bc75c74eef
Merge pull request #957 from cryptidv/master
Adds a '--use-memory' flag to choose memory backend at runtime
2023-04-12 19:33:30 +01:00
Richard Beales 9c9758c720
Merge pull request #700 from Rokniel/azure-deployment-additions
Add required env parameters for azure usage
2023-04-12 18:08:54 +01:00
Eesa Hamza ec6918ab48 Added some comments 2023-04-12 16:59:50 +03:00
Eesa Hamza 083ccb6bd3 Added a memory backend argument 2023-04-12 16:58:39 +03:00
Peter Edwards 6fa9501251
Merge branch 'Torantulino:master' into more_azure 2023-04-12 13:28:23 +02:00
sarango 16b37fff1d Fix to LocalCache add method, created integration test for it 2023-04-12 21:49:23 +12:00
Peter Edwards 650e2dcd6d cleaned up .env to move Azure config to separate azure.yaml file
updated README.md to explain new config
added Azure yaml loader to config class
centralized model retrieval into config class
this commit effectively combines and replaces #700 and #580
2023-04-12 11:27:37 +02:00
vadi 7736762b5a Fix #840 - Add defensive coding for local memory to load the JSON file that was gitignored at 54101c7997
- Added unit test placholder for local cache test
- Removed unused imports from local cache unit test placeholder
2023-04-12 16:38:53 +10:00
Peter Edwards 9d33a75083 Changes for Azure embedding handling 2023-04-11 13:45:37 +02:00
Kari Ahdan a504f0bdd3 Add required env parameters for azure usage 2023-04-10 16:43:06 +03: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
Toran Bruce Richards d1777e39a8
Fixes incorrect class names in __all__
Changes "Cache" to "Memory".
2023-04-09 02:31:51 +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
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