Spaces:
Running
Running
File size: 387 Bytes
d3a44ea |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
from pydantic import BaseModel
from typing import Optional
class AnalysisResponse(BaseModel):
findings: str
severity: str
recommendations: list[str]
treatment_suggestions: str
home_care_guidance: list[str]
info_link: str
class ChatRequest(BaseModel):
question: str
class ChatResponse(BaseModel):
answer: str
class TextRequest(BaseModel):
text: str
|