You've already forked ModuleLLM-OpenAI-Plugin
mirror of
https://github.com/m5stack/ModuleLLM-OpenAI-Plugin.git
synced 2026-05-20 11:37:26 -07:00
8 lines
242 B
Python
8 lines
242 B
Python
from .chat_schemas import ChatCompletionRequest
|
|
|
|
class BaseModelBackend:
|
|
def __init__(self, model_config):
|
|
self.config = model_config
|
|
|
|
async def generate(self, request: ChatCompletionRequest):
|
|
raise NotImplementedError |