mirror of
https://github.com/langgenius/dify.git
synced 2025-12-21 18:25:26 -05:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
18 lines
440 B
Python
18 lines
440 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class RecommendAppRetrievalBase(ABC):
|
|
"""Interface for recommend app retrieval."""
|
|
|
|
@abstractmethod
|
|
def get_recommended_apps_and_categories(self, language: str):
|
|
raise NotImplementedError
|
|
|
|
@abstractmethod
|
|
def get_recommend_app_detail(self, app_id: str):
|
|
raise NotImplementedError
|
|
|
|
@abstractmethod
|
|
def get_type(self) -> str:
|
|
raise NotImplementedError
|