mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-05 21:39:53 +08:00
8 lines
131 B
Python
8 lines
131 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class LLM(ABC):
|
|
@abstractmethod
|
|
def generate(self, prompt: str) -> str:
|
|
pass
|