4 lines
135 B
Python
4 lines
135 B
Python
from pydantic import BaseModel, Field
|
|
|
|
class TextRequest(BaseModel):
|
|
text: str = Field(..., description="The text to be moderated") |