File size: 208 Bytes
ab7cc25
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from typing import List
from pydantic import BaseModel

class ExtractionResult(BaseModel):
    answers: List[str]

class EvaluationResult(BaseModel):
    total_marks: int
    grade: str
    percentage: float