camel
camel copied to clipboard
Memory enhancement agent
Description
- Adds an agent_id to every memory record.
- Updates ChatHistoryBlock and VectorDB block to retrieve only the memories associated with the specified agent.
- Adds an option to load agent specific memories from all subclasses of BaseKeyValueStorage and all subclasses of BaseVectorStorage
- Fixes some features requested in #1588
Checklist
Go over all the following points, and put an x in all the boxes that apply.
- [x] I have read the CONTRIBUTION guide (required)
- [x] I have linked this PR to an issue using the Development section on the right sidebar or by adding
Fixes #issue-numberin the PR description (required) - [x] I have checked if any dependencies need to be added or updated in
pyproject.tomlandpoetry.lock - [ ] I have updated the tests accordingly (required for a bug fix or a new feature)
- [ ] I have updated the documentation if needed:
- [ ] I have added examples if this is a new feature
If you are unsure about any of these, don't hesitate to ask. We are here to help!