Spaces:
Running
Running
Download backend/app/models.py from PediaMedAI/MedCaseAgent: direct link, hf CLI and curl.
- Browser
- Download file 666 Bytes
-
https://huggingface.co/spaces/PediaMedAI/MedCaseAgent/resolve/main/backend/app/models.py
- Command line
-
hf download hf://spaces/PediaMedAI/MedCaseAgent/backend/app/models.py
-
curl -L -o models.py https://huggingface.co/spaces/PediaMedAI/MedCaseAgent/resolve/main/backend/app/models.py
666 Bytes
| from pydantic import BaseModel, HttpUrl | |
| class Resource(BaseModel): | |
| id: str | |
| name: str | |
| description: str | |
| url: HttpUrl | None = None | |
| class Project(BaseModel): | |
| name: str | |
| title: str | |
| description: str | |
| organization: str | |
| resources: list[Resource] | |
| class ClinicalAtoms(BaseModel): | |
| history: list[str] | |
| presentation: list[str] | |
| diagnostics: list[str] | |
| management: list[str] | |
| outcome: list[str] | |
| class ExampleStage(BaseModel): | |
| id: str | |
| title: str | |
| content: str | |
| class Example(BaseModel): | |
| title: str | |
| label: str | |
| description: str | |
| atoms: ClinicalAtoms | |
| stages: list[ExampleStage] | |
| report: str | |