from datetime import datetime from typing import List from typing import Optional from pydantic import BaseModel from pydantic import Field class ClassifyRequest(BaseModel): """Text Summarize request model.""" text: str = Field(..., description="The text you want to summarize", examples=["ወጣቱ አክሎም ትግራይ ክልል ከጦርነቱ ማግሥት አንፃራዊ ..."])