Spaces:
Sleeping
Sleeping
| from typing import Optional | |
| from pydantic import BaseModel, Field | |
| class FetchPreviousChatsRequest(BaseModel): | |
| from_dt: Optional[str] = Field(None, description="fetching chats from a specific datetime.") | |
| class SendNewChatRequest(BaseModel): | |
| text: str = Field(..., description="The text message sent to the AI") | |