mirror of https://github.com/arc53/DocsGPT
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
242 B
Python
15 lines
242 B
Python
1 year ago
|
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
|