Spaces:
Running
Running
File size: 333 Bytes
d68e65a |
1 2 3 4 5 6 7 8 9 10 11 12 |
from pydantic import BaseModel
from typing import List
from typing import Any, Dict
from app.models.check_type import CheckType
class ModerationData(BaseModel):
flagged_for: Dict[CheckType, float]
scores: Dict[CheckType, float]
original_content: str
cleaned_content: str = None
corrected_content: Any |