Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different memory providers #971

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

maeste
Copy link
Contributor

@maeste maeste commented Mar 13, 2025

Different Memory Providers Implementation

Description

This PR addresses issue #945 by implementing a more flexible memory provider system. The changes allow for different memory provider implementations to be used with smolagents, making the framework more adaptable to various use cases.

Changes

  • Added abstract base class for memory providers
  • Implemented modular memory provider interface
  • Created compatibility layer for existing memory implementations
  • Added documentation and examples for custom memory providers
  • Updated tests to cover new memory provider functionality

Related Issue

Fixes #945

Testing

All existing tests pass, and new tests have been added to verify the functionality of different memory providers.

Additional Notes

This change is backward compatible with existing code but provides new options for extending memory capabilities.

@maeste
Copy link
Contributor Author

maeste commented Mar 13, 2025

@albertvillanova @aymeric-roucher can you review and let me know what do you think?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enhanced memory module with integrations
1 participant