This commit is contained in:
Alex committed 2023-09-26 10:03:22 +01:00
1 parent e5c43cfc4b
commit e85a583f0a
15 files changed
+514 -372

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
from abc import ABC, abstractmethod
import json
class BaseLLM(ABC):
def __init__(self):
pass
@abstractmethod
def gen(self, *args, **kwargs):
pass
@abstractmethod
def gen_stream(self, *args, **kwargs):
pass