File size: 332 Bytes
e0f406c
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from models import BaseModel
from ..memory import BaseMemory
class BaseChatbot:
    def __init__(self,
                 model: BaseModel, 
                 memory: BaseMemory
        ) -> None:
        self.model = model
        self.memory = memory
    
    def respond(self, message: str) -> str:
        raise NotImplementedError