Commit Graph

20 Commits

Author SHA1 Message Date
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
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
sarango
16b37fff1d Fix to LocalCache add method, created integration test for it 2023-04-12 21:49:23 +12: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
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