15 lines
343 B
Python
15 lines
343 B
Python
from abc import ABC, abstractmethod
|
|
|
|
from typing import Dict
|
|
|
|
|
|
class ITrainingService(ABC):
|
|
|
|
@abstractmethod
|
|
async def fetch_tips(self, context: str, question: str, answer: str, correct_answer: str):
|
|
pass
|
|
|
|
@abstractmethod
|
|
async def get_training_content(self, training_content: Dict) -> Dict:
|
|
pass
|