Peter Edwards
bcdb4e476f
Merge remote-tracking branch 'upstream/master' into more_azure
2023-04-13 08:12:29 +02: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