Spaces:
Running
Running
changes
Browse files- dataSchema.py +5 -2
dataSchema.py
CHANGED
@@ -58,6 +58,7 @@ class Noc_TimeSheetInformation(BaseModel):
|
|
58 |
position_title: str = Field(..., description="Position title of the person.")
|
59 |
work_location: str = Field(..., description="Work location ")
|
60 |
agency: str = Field(..., description="the agency")
|
|
|
61 |
noc_id: str = Field(..., description="NOC ID of the person.")
|
62 |
full_name: str = Field(..., description="Full name of the person.")
|
63 |
approval_status: str = Field("not approved",description="(e.g., 'approved', 'not approved').")
|
@@ -72,7 +73,7 @@ class Noc_TimeSheetInformation(BaseModel):
|
|
72 |
extended_hitch_days_onshore: int = Field(0, description="Number of extended hitch days onshore for rotational personnel.")
|
73 |
overtime_Hourly_Rate_ONSHORE:int = Field(0,description="number of over time hours onshore (Over 8 hours) ")
|
74 |
overtime_Hourly_Rate_OFFSHORE:int = Field(0,description="number of over time hours offshore (Over 12 hours) ")
|
75 |
-
per_diem_days: int = Field(0, description="Number of Per Diem
|
76 |
training_days: int = Field(0, description="Number of training days.")
|
77 |
travel_days: int = Field(0, description="Number of travel days.")
|
78 |
|
@@ -171,6 +172,7 @@ Based on the provided timesheet details, extract the following information:
|
|
171 |
- Position title of the person.
|
172 |
- Work location .
|
173 |
- the agency.
|
|
|
174 |
- NOC ID of the person.
|
175 |
- Name of the person.
|
176 |
- approval status
|
@@ -184,7 +186,8 @@ Based on the provided timesheet details, extract the following information:
|
|
184 |
- Number of extended hitch days onshore for rotational personnel
|
185 |
- Number of over time hours onshore (Over 8 hours)
|
186 |
- Number of over time hours offshore (Over 12 hours)
|
187 |
-
- Number of Per Diem
|
|
|
188 |
- Number of training days
|
189 |
- Number of travel days
|
190 |
|
|
|
58 |
position_title: str = Field(..., description="Position title of the person.")
|
59 |
work_location: str = Field(..., description="Work location ")
|
60 |
agency: str = Field(..., description="the agency")
|
61 |
+
working_schedule: str = Field(...,description="schedule.")
|
62 |
noc_id: str = Field(..., description="NOC ID of the person.")
|
63 |
full_name: str = Field(..., description="Full name of the person.")
|
64 |
approval_status: str = Field("not approved",description="(e.g., 'approved', 'not approved').")
|
|
|
73 |
extended_hitch_days_onshore: int = Field(0, description="Number of extended hitch days onshore for rotational personnel.")
|
74 |
overtime_Hourly_Rate_ONSHORE:int = Field(0,description="number of over time hours onshore (Over 8 hours) ")
|
75 |
overtime_Hourly_Rate_OFFSHORE:int = Field(0,description="number of over time hours offshore (Over 12 hours) ")
|
76 |
+
per_diem_days: int = Field(0, description="Number of any Per Diem listed with each type of day.")
|
77 |
training_days: int = Field(0, description="Number of training days.")
|
78 |
travel_days: int = Field(0, description="Number of travel days.")
|
79 |
|
|
|
172 |
- Position title of the person.
|
173 |
- Work location .
|
174 |
- the agency.
|
175 |
+
- schedule.
|
176 |
- NOC ID of the person.
|
177 |
- Name of the person.
|
178 |
- approval status
|
|
|
186 |
- Number of extended hitch days onshore for rotational personnel
|
187 |
- Number of over time hours onshore (Over 8 hours)
|
188 |
- Number of over time hours offshore (Over 12 hours)
|
189 |
+
- Number of any Per Diem listed with each type of day.
|
190 |
+
for example: travel day per diem:here we have the per diem only, travel day + per diem : we have both a travel day and the per diem.
|
191 |
- Number of training days
|
192 |
- Number of travel days
|
193 |
|