Spaces:
Runtime error
Runtime error
Update api/models.py
Browse files- api/models.py +10 -11
api/models.py
CHANGED
|
@@ -1,12 +1,11 @@
|
|
| 1 |
-
from pydantic import BaseModel
|
| 2 |
-
from typing import
|
| 3 |
-
|
| 4 |
-
class
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
relevant_experiences: List[RelevantSkill]
|
| 12 |
experience_summary: str
|
|
|
|
| 1 |
+
from pydantic import BaseModel
|
| 2 |
+
from typing import Optional
|
| 3 |
+
|
| 4 |
+
class ResumeAnalysisResponse(BaseModel):
|
| 5 |
+
candidate_name: str
|
| 6 |
+
university_name: Optional[str] = None
|
| 7 |
+
location: Optional[str] = None
|
| 8 |
+
physical_address: Optional[str] = None
|
| 9 |
+
role: Optional[str] = None
|
| 10 |
+
relevant_experiences: str
|
|
|
|
| 11 |
experience_summary: str
|