m00913563 commited on
Commit
7d3d2eb
·
1 Parent(s): 117a3a8

fix: change GPA to gpa

Browse files
Files changed (2) hide show
  1. extractor_llm.py +2 -2
  2. models.py +1 -1
extractor_llm.py CHANGED
@@ -22,7 +22,7 @@ def predict(input):
22
  “end”: string,
23
  “major”: string,
24
  “campus”: string,
25
- GPA”: integer
26
  }
27
  }
28
 
@@ -100,7 +100,7 @@ def predict(input):
100
  "end": "2025-08-25T00:00:00.000Z",
101
  "major": "B. Eng, Informatic Engineering",
102
  "campus": "Institut Teknologi Bandung ",
103
- "GPA": 341
104
  }
105
  ]
106
  }
 
22
  “end”: string,
23
  “major”: string,
24
  “campus”: string,
25
+ gpa”: integer
26
  }
27
  }
28
 
 
100
  "end": "2025-08-25T00:00:00.000Z",
101
  "major": "B. Eng, Informatic Engineering",
102
  "campus": "Institut Teknologi Bandung ",
103
+ "gpa": 341
104
  }
105
  ]
106
  }
models.py CHANGED
@@ -14,7 +14,7 @@ class Education(BaseModel):
14
  end: Optional[str] = Field(None, description="End date in ISO String YYYY-MM-DDTHH:mm:ss.sssZ format")
15
  major: str = Field(...)
16
  campus: str = Field(...)
17
- GPA: int = Field(None, description="Get the two most significant digit then times by 100, for example 3.41 become 341")
18
 
19
  class CVExtracted(BaseModel):
20
  name: str = Field(...)
 
14
  end: Optional[str] = Field(None, description="End date in ISO String YYYY-MM-DDTHH:mm:ss.sssZ format")
15
  major: str = Field(...)
16
  campus: str = Field(...)
17
+ gpa: int = Field(None, description="Get the two most significant digit then times by 100, for example 3.41 become 341")
18
 
19
  class CVExtracted(BaseModel):
20
  name: str = Field(...)