Files
encoach_backend/app/services/abc/exam/writing.py
2024-10-01 19:31:01 +01:00

12 lines
318 B
Python

from abc import ABC, abstractmethod
class IWritingService(ABC):
@abstractmethod
async def get_writing_task_general_question(self, task: int, topic: str, difficulty: str):
pass
@abstractmethod
async def grade_writing_task(self, task: int, question: str, answer: str):
pass