Spaces:
Build error
Build error
Update mirascope_extractor.py
Browse files- mirascope_extractor.py +3 -2
mirascope_extractor.py
CHANGED
|
@@ -13,8 +13,7 @@ class TaskDetails(BaseModel):
|
|
| 13 |
email: str
|
| 14 |
phone_number: str
|
| 15 |
skills: List[str]
|
| 16 |
-
education: str
|
| 17 |
-
experience
|
| 18 |
past_company_experience: int
|
| 19 |
about_section: str
|
| 20 |
|
|
@@ -22,6 +21,8 @@ class TaskExtractor(OpenAIExtractor[TaskDetails]):
|
|
| 22 |
extract_schema: Type[TaskDetails] = TaskDetails
|
| 23 |
prompt_template = """
|
| 24 |
Extract the Resume details from the following Resume:
|
|
|
|
|
|
|
| 25 |
{resume}
|
| 26 |
"""
|
| 27 |
resume: str
|
|
|
|
| 13 |
email: str
|
| 14 |
phone_number: str
|
| 15 |
skills: List[str]
|
| 16 |
+
education: List[str]
|
|
|
|
| 17 |
past_company_experience: int
|
| 18 |
about_section: str
|
| 19 |
|
|
|
|
| 21 |
extract_schema: Type[TaskDetails] = TaskDetails
|
| 22 |
prompt_template = """
|
| 23 |
Extract the Resume details from the following Resume:
|
| 24 |
+
|
| 25 |
+
Note: Extract Experience by calculating the working tenure
|
| 26 |
{resume}
|
| 27 |
"""
|
| 28 |
resume: str
|