mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
15 lines
242 B
Python
15 lines
242 B
Python
|
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
|