14 lines
346 B
Python
14 lines
346 B
Python
from abc import ABC, abstractmethod
|
|
|
|
|
|
class ITrainingService(ABC):
|
|
|
|
@abstractmethod
|
|
async def fetch_tips(self, context: str, question: str, answer: str, correct_answer: str):
|
|
pass
|
|
|
|
@staticmethod
|
|
@abstractmethod
|
|
def _get_question_tips(question: str, answer: str, correct_answer: str, context: str = None):
|
|
pass
|