mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 23:58:34 +00:00
* byom - short/entity memory * better * rm uneeded * fix text * use context * rm dep and sync * type check fix * fixed test using new cassete * fixing types * fixed types * fix types * fixed types * fixing types * fix type * cassette update * just mock the return of short term mem * remove print * try catch block * added docs * dding error handling here
15 lines
322 B
Python
15 lines
322 B
Python
from typing import Any, Dict, List
|
|
|
|
|
|
class Storage:
|
|
"""Abstract base class defining the storage interface"""
|
|
|
|
def save(self, value: Any, metadata: Dict[str, Any]) -> None:
|
|
pass
|
|
|
|
def search(self, key: str) -> List[Dict[str, Any]]: # type: ignore
|
|
pass
|
|
|
|
def reset(self) -> None:
|
|
pass
|