from abc import ABC, abstractmethod class ISpeechToTextService(ABC): @abstractmethod async def speech_to_text(self, file: bytes): pass