Files
encoach_backend/ielts_be/controllers/abc/exam/speaking.py
Carlos-Mesquita b32e38156c ENCOA-311
2025-01-13 01:13:28 +00:00

22 lines
493 B
Python

from abc import ABC, abstractmethod
from typing import List
class ISpeakingController(ABC):
@abstractmethod
async def get_speaking_part(self, task: int, topic: str, second_topic: str, difficulty: List[str]):
pass
@abstractmethod
async def get_avatars(self):
pass
@abstractmethod
async def generate_video(self, text: str, avatar: str):
pass
@abstractmethod
async def poll_video(self, vid_id: str):
pass