first commit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from abc import ABC, abstractmethod
|
||||
|
||||
|
||||
class BaseLLMClient(ABC):
|
||||
def __init__(self, config):
|
||||
self.config = config
|
||||
|
||||
@abstractmethod
|
||||
def chat(self, messages, **kwargs):
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def stream_chat(self, messages, **kwargs):
|
||||
pass
|
||||
Reference in New Issue
Block a user