from pydantic import BaseModel, Field class TextRequest(BaseModel): text: str = Field(..., description="The text to be moderated")