amis/scripts/bot/llm/base.py

8 lines
131 B
Python

from abc import ABC, abstractmethod
class LLM(ABC):
@abstractmethod
def generate(self, prompt: str) -> str:
pass