grading / models.py
Hammad712's picture
Create models.py
ab7cc25 verified
raw
history blame
208 Bytes
from typing import List
from pydantic import BaseModel
class ExtractionResult(BaseModel):
answers: List[str]
class EvaluationResult(BaseModel):
total_marks: int
grade: str
percentage: float