Files
encoach_backend/app/services/abc/training.py
Carlos Mesquita 3cf9fa5cba Async release
2024-07-23 08:40:35 +01:00

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