Spaces:
Sleeping
Sleeping
File size: 428 Bytes
217abc3 | 1 2 3 4 5 6 7 8 9 10 | from typing import List
from pydantic import BaseModel, Field
from .learning_objectives import LearningObjective
from .questions import RankedMultipleChoiceQuestion
class Assessment(BaseModel):
"""Model for an assessment."""
learning_objectives: List[LearningObjective] = Field(description="List of learning objectives")
questions: List[RankedMultipleChoiceQuestion] = Field(description="List of ranked questions") |