Chat / llm /base.py
VTechAI's picture
init
8a41f4d
raw
history blame
No virus
242 Bytes
from abc import ABC, abstractmethod
class BaseLLM(ABC):
def __init__(self):
pass
@abstractmethod
def gen(self, *args, **kwargs):
pass
@abstractmethod
def gen_stream(self, *args, **kwargs):
pass