13 lines
212 B
Python
13 lines
212 B
Python
import abc
|
|
|
|
class Provider:
|
|
def __init__(self, cfg):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def text_chat(self, prompt):
|
|
pass
|
|
|
|
@abc.abstractmethod
|
|
def forget(self) -> bool:
|
|
pass |