Spaces:
Running
Running
Amamrnaf
commited on
Commit
·
2bba469
1
Parent(s):
a598534
`Updated approval_status description in Noc_Residential_TimeSheetInformation and Noc_Rotational_TimeSheetInformation classes`
Browse files- dataSchema.py +8 -2
dataSchema.py
CHANGED
@@ -23,7 +23,7 @@ class Noc_Residential_TimeSheetInformation(BaseModel):
|
|
23 |
training_days: int = Field(0, description="Number of training days.")
|
24 |
travel_days: int = Field(0, description="Number of travel days.")
|
25 |
|
26 |
-
approval_status: str = Field("not approved",description="
|
27 |
approved_on : str = Field(...,description="DD/MM/YY of the stamp")
|
28 |
approved_by : str = Field(...,description="Name of the person who approved the document")
|
29 |
|
@@ -49,7 +49,7 @@ class Noc_Rotational_TimeSheetInformation(BaseModel):
|
|
49 |
training_days: int = Field(0, description="Number of training days.")
|
50 |
travel_days: int = Field(0, description="Number of travel days.")
|
51 |
|
52 |
-
approval_status: str = Field("not approved",description="
|
53 |
approved_on : str = Field(...,description="DD/MM/YY of the stamp")
|
54 |
approved_by : str = Field(...,description="Name of the person who approved the document")
|
55 |
|
@@ -127,6 +127,9 @@ Noc_Res_timesheet_prompt = """
|
|
127 |
- Number of Per Diem days for onshore/offshore rotational personnel
|
128 |
- Number of training days
|
129 |
- Number of travel days
|
|
|
|
|
|
|
130 |
"""
|
131 |
|
132 |
Noc_Rot_timesheet_prompt = """
|
@@ -150,6 +153,9 @@ Noc_Rot_timesheet_prompt = """
|
|
150 |
- Number of Per Diem days for onshore/offshore rotational personnel
|
151 |
- Number of training days
|
152 |
- Number of travel days
|
|
|
|
|
|
|
153 |
"""
|
154 |
|
155 |
invoice_first_page_prompt="""
|
|
|
23 |
training_days: int = Field(0, description="Number of training days.")
|
24 |
travel_days: int = Field(0, description="Number of travel days.")
|
25 |
|
26 |
+
approval_status: str = Field("not approved",description="Indicates whether the NOC representative's name and date are present on the document (e.g., 'approved', 'not approved').")
|
27 |
approved_on : str = Field(...,description="DD/MM/YY of the stamp")
|
28 |
approved_by : str = Field(...,description="Name of the person who approved the document")
|
29 |
|
|
|
49 |
training_days: int = Field(0, description="Number of training days.")
|
50 |
travel_days: int = Field(0, description="Number of travel days.")
|
51 |
|
52 |
+
approval_status: str = Field("not approved",description="Indicates whether the NOC representative's name and date are present on the document (e.g., 'approved', 'not approved').")
|
53 |
approved_on : str = Field(...,description="DD/MM/YY of the stamp")
|
54 |
approved_by : str = Field(...,description="Name of the person who approved the document")
|
55 |
|
|
|
127 |
- Number of Per Diem days for onshore/offshore rotational personnel
|
128 |
- Number of training days
|
129 |
- Number of travel days
|
130 |
+
- Indicates whether the NOC representative's name and date are present on the document (e.g., 'approved', 'not approved').
|
131 |
+
- DD/MM/YY of the stamp
|
132 |
+
- Name of the person who approved the document
|
133 |
"""
|
134 |
|
135 |
Noc_Rot_timesheet_prompt = """
|
|
|
153 |
- Number of Per Diem days for onshore/offshore rotational personnel
|
154 |
- Number of training days
|
155 |
- Number of travel days
|
156 |
+
- Indicates whether the NOC representative's name and date are present on the document (e.g., 'approved', 'not approved').
|
157 |
+
- DD/MM/YY of the stamp
|
158 |
+
- Name of the person who approved the document
|
159 |
"""
|
160 |
|
161 |
invoice_first_page_prompt="""
|