File size: 450 Bytes
a2ff264
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from abc import ABC, abstractmethod
from backend.models.AIParamModel import AIParam

class IQuestionGenerator(ABC):
    @abstractmethod
    def generate_questions_advance(self, text: str, aIParam:AIParam) -> list:
        """Generates questions from the given text."""
        pass
    
    @abstractmethod
    def generate_questions_simple(self, text: str,aIParam:AIParam) -> list:
        """Generates questions from the given text."""
        pass