File size: 212 Bytes
8af6af2
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
from abc import ABC, abstractmethod

import numpy as np

class LLMBase(ABC):
    @classmethod
    @abstractmethod
    def call(image: np.ndarray, model: str, token: str) -> dict:
        raise NotImplementedError