Priyansh Saxena commited on
Commit
df4a61a
·
1 Parent(s): e977d87

feat: add pydantic schemas and state definitions

Browse files
Files changed (3) hide show
  1. app/__init__.py +0 -0
  2. app/schemas.py +18 -0
  3. app/state.py +1 -0
app/__init__.py ADDED
File without changes
app/schemas.py ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pydantic import BaseModel
2
+
3
+
4
+ class HPI(BaseModel):
5
+ onset: str
6
+ location: str
7
+ duration: str
8
+ character: str
9
+ severity: str
10
+ aggravating: str
11
+ relieving: str
12
+
13
+
14
+ class ClinicalBrief(BaseModel):
15
+ chief_complaint: str
16
+ hpi: HPI
17
+ ros: dict[str, list[str]]
18
+ generated_at: str
app/state.py ADDED
@@ -0,0 +1 @@
 
 
1
+ # State is now defined in graph.py as part of LangGraph integration