mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
* reseting memory on cli * using storage.reset * deleting memories on command * added tests * handle when no flags are used * added docs
15 lines
320 B
Python
15 lines
320 B
Python
from typing import Any, Dict
|
|
|
|
|
|
class Storage:
|
|
"""Abstract base class defining the storage interface"""
|
|
|
|
def save(self, key: str, value: Any, metadata: Dict[str, Any]) -> None:
|
|
pass
|
|
|
|
def search(self, key: str) -> Dict[str, Any]: # type: ignore
|
|
pass
|
|
|
|
def reset(self) -> None:
|
|
pass
|