File size: 240 Bytes
e294914
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
from abc import ABC, abstractmethod
from typing import Any, Optional

class HFInterface(ABC):
    @abstractmethod
    def execution(self) -> Optional[Any]:
        """Method execution LLM model based on HuggingFace or others"""
        pass