from abc import ABC, abstractmethod class ImageAnalyzer(ABC): @abstractmethod def analyze_image(self, image_path: str, prompt: str) -> str: """圖片分析介面定義""" pass