merwanehamadi
4e3f832dc3
Remove config singleton ( #4737 )
2023-06-20 06:47:59 -07:00
merwanehamadi
a7f805604c
Pass config everywhere in order to get rid of singleton ( #4666 )
...
Signed-off-by: Merwane Hamadi <merwanehamadi@gmail.com >
2023-06-18 19:05:41 -07:00
Reinier van der Leer
f0a5250da5
Implement loading MemoryItems from file in JSONFileMemory ( #4703 )
...
Further changes:
* remove `init` param from `get_memory()`, replace usages by `memory.clear()`
* make token length calculation optional in `MemoryItem.dump()`
2023-06-15 17:45:14 +02:00
Reinier van der Leer
bfbe613960
Vector memory revamp (part 1: refactoring) ( #4208 )
...
Additional changes:
* Improve typing
* Modularize message history memory & fix/refactor lots of things
* Fix summarization
* Move memory relevance calculation to MemoryItem & improve test
* Fix import warnings in web_selenium.py
* Remove `memory_add` ghost command
* Implement overlap in `split_text`
* Move memory tests into subdirectory
* Remove deprecated `get_ada_embedding()` and helpers
* Fix used token calculation in `chat_with_ai`
* Replace Message TypedDict by dataclass
* Fix AgentManager singleton issues in tests
---------
Co-authored-by: Auto-GPT-Bot <github-bot@agpt.co >
2023-05-25 20:31:11 +02:00