File size: 320 Bytes
01523b5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from abc import abstractmethod
from typing import Dict, List

from pydantic import BaseModel, Field

from agentverse.message import Message


class BaseMemoryManipulator(BaseModel):

    @abstractmethod
    def manipulate_memory(self) -> None:
        pass

    @abstractmethod
    def reset(self) -> None:
        pass