Team Ai
Apppublic

Underground-Digital/Workflow-Engine

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
recommend_app_base.py18 linesDownload Raw Back to recommend_app
1from abc import ABC, abstractmethod2 3 4class RecommendAppRetrievalBase(ABC):5    """Interface for recommend app retrieval."""6 7    @abstractmethod8    def get_recommended_apps_and_categories(self, language: str) -> dict:9        raise NotImplementedError10 11    @abstractmethod12    def get_recommend_app_detail(self, app_id: str):13        raise NotImplementedError14 15    @abstractmethod16    def get_type(self) -> str:17        raise NotImplementedError18