Decoder2704/python-chatbot-jay
0
1from pydantic import BaseModel, Field2 3 4class ChatRequest(BaseModel):5 message: str = Field(..., min_length=1, description="User message (same role as notebook EntryBox text)")6 7 8class ChatResponse(BaseModel):9 answer: str10 alternate: int | float11 qid: int12 aid: int13 14 15class HealthResponse(BaseModel):16 status: str17 