mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-11 04:20:49 +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
|