Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
VTechAI
/
Chat
like
0
Runtime error
App
Files
Files
Community
8a41f4d
Chat
/
llm
/
base.py
VTechAI
init
8a41f4d
9 months ago
raw
Copy download link
history
blame
Safe
242 Bytes
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