Martechsol commited on
Commit ·
b02cb86
1
Parent(s): a045fe5
Enforce strict rule: all leaves taken during probation are unpaid
Browse files- all_chats_export (1).json +85 -253
- app/services/llm.py +1 -0
all_chats_export (1).json
CHANGED
|
@@ -1,302 +1,134 @@
|
|
| 1 |
[
|
| 2 |
-
{
|
| 3 |
-
"Session ID": "Akash_Kumar",
|
| 4 |
-
"Timestamp": "2026-05-18T05:15:35.653797+00:00",
|
| 5 |
-
"Question": "Aslam walikum",
|
| 6 |
-
"Answer": "Wa alaikum as-salam! How can I assist you today with any HR-related questions?"
|
| 7 |
-
},
|
| 8 |
-
{
|
| 9 |
-
"Session ID": "Aun_Rizvi",
|
| 10 |
-
"Timestamp": "2026-05-18T17:21:49.732060+00:00",
|
| 11 |
-
"Question": "Hello",
|
| 12 |
-
"Answer": "Hello! How can I help you with any HR-related questions today?"
|
| 13 |
-
},
|
| 14 |
-
{
|
| 15 |
-
"Session ID": "Ghulam_Baqir",
|
| 16 |
-
"Timestamp": "2026-05-18T19:17:25.172850+00:00",
|
| 17 |
-
"Question": "hi",
|
| 18 |
-
"Answer": "Hello Ghulam Baqir! How can I assist you today?"
|
| 19 |
-
},
|
| 20 |
{
|
| 21 |
"Session ID": "Hamza_Naqvi",
|
| 22 |
-
"Timestamp": "2026-05-
|
| 23 |
-
"Question": "
|
| 24 |
-
"Answer": "
|
| 25 |
},
|
| 26 |
{
|
| 27 |
"Session ID": "Hamza_Naqvi",
|
| 28 |
-
"Timestamp": "2026-05-
|
| 29 |
-
"Question": "
|
| 30 |
-
"Answer": "<b>
|
| 31 |
},
|
| 32 |
{
|
| 33 |
"Session ID": "Hamza_Naqvi",
|
| 34 |
-
"Timestamp": "2026-05-
|
| 35 |
-
"Question": "
|
| 36 |
-
"Answer": "
|
| 37 |
-
},
|
| 38 |
-
{
|
| 39 |
-
"Session ID": "Khadija_Kashif",
|
| 40 |
-
"Timestamp": "2026-05-15T22:42:16.570646+00:00",
|
| 41 |
-
"Question": "hi",
|
| 42 |
-
"Answer": "Hello! How can I help you with any HR-related questions today?"
|
| 43 |
},
|
| 44 |
{
|
| 45 |
-
"Session ID": "
|
| 46 |
-
"Timestamp": "2026-05-
|
| 47 |
-
"Question": "
|
| 48 |
-
"Answer": "
|
| 49 |
-
},
|
| 50 |
-
{
|
| 51 |
-
"Session ID": "Khadija_Kashif",
|
| 52 |
-
"Timestamp": "2026-05-15T22:42:35.897018+00:00",
|
| 53 |
-
"Question": "bye",
|
| 54 |
-
"Answer": "You're welcome! Feel free to reach out anytime."
|
| 55 |
-
},
|
| 56 |
-
{
|
| 57 |
-
"Session ID": "Mubeen_Khan",
|
| 58 |
-
"Timestamp": "2026-05-15T22:25:38.083559+00:00",
|
| 59 |
-
"Question": "who is the CEO",
|
| 60 |
-
"Answer": "I specialize in HR and workplace queries at Martechsol. Feel free to ask me about leaves, salary, benefits, policies, or any work-related matter!"
|
| 61 |
-
},
|
| 62 |
-
{
|
| 63 |
-
"Session ID": "Mubeen_Khan",
|
| 64 |
-
"Timestamp": "2026-05-15T22:25:52.152709+00:00",
|
| 65 |
-
"Question": "what is the name of the company",
|
| 66 |
-
"Answer": "I specialize in HR and workplace queries at Martechsol. Feel free to ask me about leaves, salary, benefits, policies, or any work-related matter!"
|
| 67 |
-
},
|
| 68 |
-
{
|
| 69 |
-
"Session ID": "Mubeen_Khan",
|
| 70 |
-
"Timestamp": "2026-05-15T22:26:16.313297+00:00",
|
| 71 |
-
"Question": "tell me about the company's policies",
|
| 72 |
-
"Answer": "Here are the categories of topics related to company policies that I can assist you with:\n\n- Leaves\n- Salary\n- Benefits\n- Attendance\n- Work from home\n- Separation\n- Disciplinary rules\n\nFeel free to ask about any specific category!"
|
| 73 |
-
},
|
| 74 |
-
{
|
| 75 |
-
"Session ID": "Mubeen_Khan",
|
| 76 |
-
"Timestamp": "2026-05-15T22:26:39.838093+00:00",
|
| 77 |
-
"Question": "tell me more about the salary",
|
| 78 |
-
"Answer": "Here are the categories of topics related to salary that I can assist you with:\n\n- Salary structure\n- Salary increments\n- Confirmation and salary adjustments\n\nFeel free to ask about any specific aspect of salary!"
|
| 79 |
-
},
|
| 80 |
-
{
|
| 81 |
-
"Session ID": "Mubeen_Khan",
|
| 82 |
-
"Timestamp": "2026-05-15T22:26:51.735339+00:00",
|
| 83 |
-
"Question": "salary increments",
|
| 84 |
-
"Answer": "Salary increments may be awarded upon confirmation if an employee's performance exceeds expectations. The date of confirmation is based on the employee's joining date and performance. Revised salaries for employees confirmed before the 15th of a month will be effective from the 1st of that month, while those confirmed after the 15th will have revised salaries effective from the 1st of the following month."
|
| 85 |
-
},
|
| 86 |
-
{
|
| 87 |
-
"Session ID": "Mubeen_Khan",
|
| 88 |
-
"Timestamp": "2026-05-15T22:27:27.295785+00:00",
|
| 89 |
-
"Question": "how many times a year does the salary increase",
|
| 90 |
-
"Answer": "The salary increment is typically awarded upon confirmation, which occurs after a probation period of <b>90 days</b>. Therefore, salary increases may occur once a year, contingent upon the employee's performance and confirmation status."
|
| 91 |
-
},
|
| 92 |
-
{
|
| 93 |
-
"Session ID": "Mubeen_Khan",
|
| 94 |
-
"Timestamp": "2026-05-15T22:28:19.565885+00:00",
|
| 95 |
-
"Question": "what are the working hours",
|
| 96 |
-
"Answer": "The normal workweek consists of full shift hours, six days per week, from <b>9:00 a.m. to 5:30 p.m.</b> The first Saturday of every month is a day off, while the remaining three Saturdays in each month are half-days, lasting <b>six and a half hours</b>. One hour is allocated for lunch/dinner during all shifts."
|
| 97 |
-
},
|
| 98 |
-
{
|
| 99 |
-
"Session ID": "Mubeen_Khan",
|
| 100 |
-
"Timestamp": "2026-05-15T22:29:09.792703+00:00",
|
| 101 |
-
"Question": "what is the name of the other company written in the company's handbook",
|
| 102 |
-
"Answer": "The name of the other company mentioned in the policy is <b>Logicose</b>."
|
| 103 |
-
},
|
| 104 |
-
{
|
| 105 |
-
"Session ID": "Mubeen_Khan",
|
| 106 |
-
"Timestamp": "2026-05-15T22:31:13.448740+00:00",
|
| 107 |
-
"Question": "how many employees are there in the company",
|
| 108 |
-
"Answer": "I don't have that information. Please check the <b>Portal</b> for any employee-related queries or contact your <b>Supervising Authority</b> for assistance."
|
| 109 |
-
},
|
| 110 |
-
{
|
| 111 |
-
"Session ID": "Mubeen_Khan",
|
| 112 |
-
"Timestamp": "2026-05-15T22:31:31.060431+00:00",
|
| 113 |
-
"Question": "what information do you have",
|
| 114 |
-
"Answer": "I can assist you with various HR-related topics, including <b>leaves</b>, <b>salary</b>, <b>benefits</b>, <b>office timings</b>, <b>policies</b>, and more. Please specify your query, and I'll provide the relevant information."
|
| 115 |
-
},
|
| 116 |
-
{
|
| 117 |
-
"Session ID": "Mubeen_Khan",
|
| 118 |
-
"Timestamp": "2026-05-15T22:31:47.431733+00:00",
|
| 119 |
-
"Question": "what are the company's benefits",
|
| 120 |
-
"Answer": "<b>Healthcare Insurance:</b> For self and spouse, covering hospitalization expenses.<br>\n<b>Company Maintained Vehicle:</b> Provided to employees at certain designation levels, owned and maintained by the company.<br>"
|
| 121 |
-
},
|
| 122 |
-
{
|
| 123 |
-
"Session ID": "Mubeen_Khan",
|
| 124 |
-
"Timestamp": "2026-05-15T22:44:29.062252+00:00",
|
| 125 |
-
"Question": "who gets the company maintained vehicle?",
|
| 126 |
-
"Answer": "The company maintained vehicle is provided to employees at certain designation levels. The specific policy may vary across different departments."
|
| 127 |
-
},
|
| 128 |
-
{
|
| 129 |
-
"Session ID": "Mubeen_Khan",
|
| 130 |
-
"Timestamp": "2026-05-15T22:45:40.477136+00:00",
|
| 131 |
-
"Question": "whats in the handbook for mobile usage",
|
| 132 |
-
"Answer": "The Employee Handbook includes a section on <b>Cell Phone Usage</b>, which outlines the policies and guidelines regarding the appropriate use of mobile devices within the workplace. For specific details, please refer to the handbook directly."
|
| 133 |
-
},
|
| 134 |
-
{
|
| 135 |
-
"Session ID": "Mubeen_Khan",
|
| 136 |
-
"Timestamp": "2026-05-15T22:46:13.481666+00:00",
|
| 137 |
-
"Question": "why should i refer to the handbook when we have you to tell us about all that",
|
| 138 |
-
"Answer": "I understand your perspective. However, the Employee Handbook contains comprehensive details and specific policies that may not be fully covered in our conversations. It serves as an official reference for all employees, ensuring you have access to the most accurate and up-to-date information regarding company policies, including <b>Cell Phone Usage</b> and other important topics."
|
| 139 |
-
},
|
| 140 |
-
{
|
| 141 |
-
"Session ID": "Mubeen_Khan",
|
| 142 |
-
"Timestamp": "2026-05-15T22:47:09.602969+00:00",
|
| 143 |
-
"Question": "tell me the funniest thing you find in the handbook",
|
| 144 |
-
"Answer": "I specialize in HR and workplace queries at Martechsol. Feel free to ask me about leaves, salary, benefits, policies, or any work-related matter!"
|
| 145 |
-
},
|
| 146 |
-
{
|
| 147 |
-
"Session ID": "Mubeen_Khan",
|
| 148 |
-
"Timestamp": "2026-05-15T22:47:45.353339+00:00",
|
| 149 |
-
"Question": "what about exit interviews",
|
| 150 |
-
"Answer": "All employees separating from MartechSol must complete an <b>exit interview</b> with their immediate supervisor. This interview provides the Human Resource Department an opportunity to obtain feedback from employees as they transition out of their positions."
|
| 151 |
-
},
|
| 152 |
-
{
|
| 153 |
-
"Session ID": "Mubeen_Khan",
|
| 154 |
-
"Timestamp": "2026-05-15T22:48:10.930660+00:00",
|
| 155 |
-
"Question": "what are the work rules",
|
| 156 |
-
"Answer": "The work rules at MartechSol include the following categories:\n\n- **Progressive Discipline**: This may involve counseling, written warnings, and suspension for minor violations. Management has discretion over the application of these steps.\n- **Misconduct Leading to Immediate Discharge**: Examples include theft, fighting, insubordination, dishonesty, falsification of documents, possession of alcohol or illegal drugs, and breach of confidentiality.\n- **Employee Benefits Referral Program**: Employees can refer qualified candidates and receive a bonus of <b>PKR 5,000</b> once the new hire joins.\n- **Game Room Usage**: The game room is accessible during lunchtime and after work, with specific days designated for female and male employees.\n\nThese rules are designed to maintain a professional and respectful workplace environment."
|
| 157 |
-
},
|
| 158 |
-
{
|
| 159 |
-
"Session ID": "Mubeen_Khan",
|
| 160 |
-
"Timestamp": "2026-05-15T22:49:52.691990+00:00",
|
| 161 |
-
"Question": "tell me about leave enchasment",
|
| 162 |
-
"Answer": "Leave encashment at MartechSol is applicable only for **Casual Leave** in specific departments. Here is the breakdown of department eligibility for leave encashment:\n\n<b>Department</b> - <b>Casual Leave Encashment</b> - <b>Annual Leave Encashment</b><br>\nCopywriting - Yes - No<br>\nSEO - Yes - No<br>\nSales - Yes - Yes<br>\nSoftware - Yes - No<br>\nNetworking - Yes - No<br>\nHuman Resources - Yes - No<br>\nAdmin - Yes - No"
|
| 163 |
-
},
|
| 164 |
-
{
|
| 165 |
-
"Session ID": "Mubeen_Khan",
|
| 166 |
-
"Timestamp": "2026-05-15T22:51:49.482623+00:00",
|
| 167 |
-
"Question": "what is acceptability",
|
| 168 |
-
"Answer": "I don't have that information."
|
| 169 |
-
},
|
| 170 |
-
{
|
| 171 |
-
"Session ID": "Mubeen_Khan",
|
| 172 |
-
"Timestamp": "2026-05-15T22:52:13.395610+00:00",
|
| 173 |
-
"Question": "there is a whole chapter in the index about that in the handbook",
|
| 174 |
-
"Answer": "The chapter on **Acceptability** in the employee handbook outlines the standards and expectations for employee behavior and performance within the organization. It includes guidelines on acceptable conduct, adherence to company policies, and the consequences of failing to meet these standards. For detailed information, please refer to the specific section in the handbook."
|
| 175 |
-
},
|
| 176 |
-
{
|
| 177 |
-
"Session ID": "Mubeen_Khan",
|
| 178 |
-
"Timestamp": "2026-05-15T22:52:44.961716+00:00",
|
| 179 |
-
"Question": "what about solicitation",
|
| 180 |
-
"Answer": "The policy on **solicitation** states that employees are prohibited from inducing or attempting to influence any person employed by MartechSol to terminate their relationship with the company. Additionally, during and after employment, employees must not solicit the business of any customer or entity that MartechSol has worked with or discussed potential work with. Violation of this policy may result in legal action by MartechSol."
|
| 181 |
-
},
|
| 182 |
-
{
|
| 183 |
-
"Session ID": "Mubeen_Khan",
|
| 184 |
-
"Timestamp": "2026-05-15T22:53:19.716820+00:00",
|
| 185 |
-
"Question": "tell me about work from home",
|
| 186 |
-
"Answer": "<b>Work from Home</b> is permitted in emergencies such as bad weather, temporary disability, or unrest in the city. Employees can request to work from home for personal valid reasons, but approval is at the discretion of their <b>Supervising Authority</b>. \n\n- If less than 30% of the work is completed, the day will be counted as a full day off.\n- If 30-70% of the work is completed, it will be counted as a half day.\n- If more than 70% of the work is completed, it will be counted as a full day.\n\nWork must be submitted no later than 3 hours after the end of the regular shift timing. If submission is delayed, approval from the <b>Supervising Authority</b> is required."
|
| 187 |
-
},
|
| 188 |
-
{
|
| 189 |
-
"Session ID": "Mubeen_Khan",
|
| 190 |
-
"Timestamp": "2026-05-15T22:54:55.548518+00:00",
|
| 191 |
-
"Question": "tell me about referral program",
|
| 192 |
-
"Answer": "The **Employee Benefits Referral Program** allows any employee to refer qualified friends or acquaintances for employment. Once the referred candidate joins the organization, the referring employee is eligible for a bonus of <b>PKR 5,000</b>."
|
| 193 |
},
|
| 194 |
{
|
| 195 |
-
"Session ID": "
|
| 196 |
-
"Timestamp": "2026-05-
|
| 197 |
-
"Question": "
|
| 198 |
-
"Answer": "
|
| 199 |
},
|
| 200 |
{
|
| 201 |
-
"Session ID": "
|
| 202 |
-
"Timestamp": "2026-05-
|
| 203 |
-
"Question": "
|
| 204 |
-
"Answer": "
|
| 205 |
},
|
| 206 |
{
|
| 207 |
-
"Session ID": "
|
| 208 |
-
"Timestamp": "2026-05-
|
| 209 |
-
"Question": "
|
| 210 |
-
"Answer": "
|
| 211 |
},
|
| 212 |
{
|
| 213 |
-
"Session ID": "
|
| 214 |
-
"Timestamp": "2026-05-
|
| 215 |
-
"Question": "
|
| 216 |
-
"Answer": "
|
| 217 |
},
|
| 218 |
{
|
| 219 |
-
"Session ID": "
|
| 220 |
-
"Timestamp": "2026-05-
|
| 221 |
-
"Question": "
|
| 222 |
-
"Answer": "
|
| 223 |
},
|
| 224 |
{
|
| 225 |
-
"Session ID": "
|
| 226 |
-
"Timestamp": "2026-05-
|
| 227 |
-
"Question": "
|
| 228 |
-
"Answer": "
|
| 229 |
},
|
| 230 |
{
|
| 231 |
-
"Session ID": "
|
| 232 |
-
"Timestamp": "2026-05-
|
| 233 |
-
"Question": "
|
| 234 |
-
"Answer": "
|
| 235 |
},
|
| 236 |
{
|
| 237 |
-
"Session ID": "
|
| 238 |
-
"Timestamp": "2026-05-
|
| 239 |
-
"Question": "
|
| 240 |
-
"Answer": "
|
| 241 |
},
|
| 242 |
{
|
| 243 |
-
"Session ID": "
|
| 244 |
-
"Timestamp": "2026-05-
|
| 245 |
-
"Question": "
|
| 246 |
-
"Answer": "
|
| 247 |
},
|
| 248 |
{
|
| 249 |
-
"Session ID": "
|
| 250 |
-
"Timestamp": "2026-05-
|
| 251 |
-
"Question": "
|
| 252 |
-
"Answer": "
|
| 253 |
},
|
| 254 |
{
|
| 255 |
-
"Session ID": "
|
| 256 |
-
"Timestamp": "2026-05-
|
| 257 |
-
"Question": "
|
| 258 |
-
"Answer": "
|
| 259 |
},
|
| 260 |
{
|
| 261 |
-
"Session ID": "
|
| 262 |
-
"Timestamp": "2026-05-
|
| 263 |
-
"Question": "
|
| 264 |
-
"Answer": "
|
| 265 |
},
|
| 266 |
{
|
| 267 |
-
"Session ID": "
|
| 268 |
-
"Timestamp": "2026-05-
|
| 269 |
-
"Question": "
|
| 270 |
-
"Answer": "
|
| 271 |
},
|
| 272 |
{
|
| 273 |
-
"Session ID": "
|
| 274 |
-
"Timestamp": "2026-05-
|
| 275 |
-
"Question": "
|
| 276 |
-
"Answer": "
|
| 277 |
},
|
| 278 |
{
|
| 279 |
-
"Session ID": "
|
| 280 |
-
"Timestamp": "2026-05-
|
| 281 |
-
"Question": "
|
| 282 |
-
"Answer": "I
|
| 283 |
},
|
| 284 |
{
|
| 285 |
-
"Session ID": "
|
| 286 |
-
"Timestamp": "2026-05-
|
| 287 |
-
"Question": "
|
| 288 |
-
"Answer": "
|
| 289 |
},
|
| 290 |
{
|
| 291 |
-
"Session ID": "
|
| 292 |
-
"Timestamp": "2026-05-
|
| 293 |
-
"Question": "
|
| 294 |
-
"Answer": "
|
| 295 |
},
|
| 296 |
{
|
| 297 |
-
"Session ID": "
|
| 298 |
-
"Timestamp": "2026-05-
|
| 299 |
-
"Question": "
|
| 300 |
-
"Answer": "
|
| 301 |
}
|
| 302 |
]
|
|
|
|
| 1 |
[
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
{
|
| 3 |
"Session ID": "Hamza_Naqvi",
|
| 4 |
+
"Timestamp": "2026-05-26T15:25:25.266531+00:00",
|
| 5 |
+
"Question": "annual leaves",
|
| 6 |
+
"Answer": "<b>Annual Leave:</b> 14 days<br>\nAnnual leaves are granted to full-time confirmed employees after one year of service. They cannot be encashed except for TL roles or greater and for the Sales & Support Department. Up to 7 annual leaves can be carried forward to the next year with approval for specific reasons."
|
| 7 |
},
|
| 8 |
{
|
| 9 |
"Session ID": "Hamza_Naqvi",
|
| 10 |
+
"Timestamp": "2026-05-26T15:26:23.047551+00:00",
|
| 11 |
+
"Question": "termination policies",
|
| 12 |
+
"Answer": "<b>Termination Policies:</b><br>\nEmployees may be terminated for breaches of policy, including but not limited to confidentiality, non-compete agreements, and solicitation of employees or clients. The company reserves the right to take legal action for any violations during or after employment. Employees must also comply with the grievance procedure before escalating issues. If termination occurs, the employee should follow the established notice period and procedures as outlined in the company policies."
|
| 13 |
},
|
| 14 |
{
|
| 15 |
"Session ID": "Hamza_Naqvi",
|
| 16 |
+
"Timestamp": "2026-05-26T15:27:22.026062+00:00",
|
| 17 |
+
"Question": "if we sale company data",
|
| 18 |
+
"Answer": "Selling company data is considered a serious violation of company policy, specifically categorized as data theft. This includes unauthorized release of work-related data or information, which can lead to immediate termination. If you have any concerns or need clarification, please contact your supervising authority."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
},
|
| 20 |
{
|
| 21 |
+
"Session ID": "Hamza_Naqvi",
|
| 22 |
+
"Timestamp": "2026-05-26T15:28:04.928057+00:00",
|
| 23 |
+
"Question": "if we beat any person in martechsol",
|
| 24 |
+
"Answer": "Physical violence or assault against any individual within MartechSol is strictly prohibited and considered gross misconduct. Such actions can lead to immediate termination without prior warning. If you witness or experience any form of violence, please report it to your supervising authority immediately."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
},
|
| 26 |
{
|
| 27 |
+
"Session ID": "Hamza_Naqvi",
|
| 28 |
+
"Timestamp": "2026-05-26T15:28:54.492962+00:00",
|
| 29 |
+
"Question": "how to join martechsol",
|
| 30 |
+
"Answer": "I don't have information about the hiring or job application process. Please contact the <b>HR department</b> through the <b>Portal</b> trouble ticket system for recruitment inquiries."
|
| 31 |
},
|
| 32 |
{
|
| 33 |
+
"Session ID": "Hamza_Naqvi",
|
| 34 |
+
"Timestamp": "2026-05-26T15:30:17.629361+00:00",
|
| 35 |
+
"Question": "procedure to take hajj leaves",
|
| 36 |
+
"Answer": "To apply for Hajj Leave, follow these steps:\n\n• Submit your leave application at least three months in advance for necessary approval. \n• Provide a copy of your Hajj Passport/Visa to HR along with your application. \n• Ensure that you have completed four years of service to be eligible for the 10 days of paid Hajj Leave."
|
| 37 |
},
|
| 38 |
{
|
| 39 |
+
"Session ID": "Hamza_Naqvi",
|
| 40 |
+
"Timestamp": "2026-05-26T15:33:54.758075+00:00",
|
| 41 |
+
"Question": "total leaves in annual",
|
| 42 |
+
"Answer": "You are entitled to <b>14 Annual Leave</b> days per year after completing one year of service."
|
| 43 |
},
|
| 44 |
{
|
| 45 |
+
"Session ID": "Hamza_Naqvi",
|
| 46 |
+
"Timestamp": "2026-05-26T15:34:48.841535+00:00",
|
| 47 |
+
"Question": "how many leaves per annum",
|
| 48 |
+
"Answer": "You are entitled to the following leaves per annum:\n\n<b>Sick Leave:</b> 8 days<br>\n<b>Casual Leave:</b> 10 days<br>\n<b>Annual Leave:</b> 14 days"
|
| 49 |
},
|
| 50 |
{
|
| 51 |
+
"Session ID": "Hamza_Naqvi",
|
| 52 |
+
"Timestamp": "2026-05-26T15:35:10.021651+00:00",
|
| 53 |
+
"Question": "how many leaves per annum",
|
| 54 |
+
"Answer": "You are entitled to the following leaves per annum:\n\n<b>Sick Leave:</b> 8 days<br>\n<b>Casual Leave:</b> 10 days<br>\n<b>Annual Leave:</b> 14 days"
|
| 55 |
},
|
| 56 |
{
|
| 57 |
+
"Session ID": "Hamza_Naqvi",
|
| 58 |
+
"Timestamp": "2026-05-26T16:20:18.498410+00:00",
|
| 59 |
+
"Question": "prorata",
|
| 60 |
+
"Answer": "To assist you better, please write your question in <b>English</b>. I'll be happy to help once I understand your query!"
|
| 61 |
},
|
| 62 |
{
|
| 63 |
+
"Session ID": "Hamza_Naqvi",
|
| 64 |
+
"Timestamp": "2026-05-26T16:20:35.547017+00:00",
|
| 65 |
+
"Question": "pro-rata",
|
| 66 |
+
"Answer": "The term \"pro-rata\" refers to the calculation of leave entitlement based on the duration of employment within a year. For example, if an employee is confirmed during the year, their sick leave entitlement will be calculated on a pro-rata basis. This means that the total number of sick leave days will be adjusted according to the number of months worked in that year. If an employee separates from the company during the year, any sick leave taken will also be adjusted on a pro-rata basis from their final salary payment."
|
| 67 |
},
|
| 68 |
{
|
| 69 |
+
"Session ID": "Hamza_Naqvi",
|
| 70 |
+
"Timestamp": "2026-05-26T16:20:52.530839+00:00",
|
| 71 |
+
"Question": "pro rata",
|
| 72 |
+
"Answer": "Pro-rata refers to the calculation of entitlements based on the duration of employment within a specific period. For example, if a regular full-time employee is employed for part of the year, their leave or benefits will be adjusted on a pro-rata basis according to the time they have worked. This ensures that employees receive a fair allocation of benefits relative to their actual time of service."
|
| 73 |
},
|
| 74 |
{
|
| 75 |
+
"Session ID": "Khadija_Kashif",
|
| 76 |
+
"Timestamp": "2026-05-15T22:42:16.570646+00:00",
|
| 77 |
+
"Question": "hi",
|
| 78 |
+
"Answer": "Hello! How can I help you with any HR-related questions today?"
|
| 79 |
},
|
| 80 |
{
|
| 81 |
+
"Session ID": "Khadija_Kashif",
|
| 82 |
+
"Timestamp": "2026-05-15T22:42:30.817243+00:00",
|
| 83 |
+
"Question": "how are you?",
|
| 84 |
+
"Answer": "I'm here to assist you with any HR-related questions you may have. How can I help you today?"
|
| 85 |
},
|
| 86 |
{
|
| 87 |
+
"Session ID": "Khadija_Kashif",
|
| 88 |
+
"Timestamp": "2026-05-15T22:42:35.897018+00:00",
|
| 89 |
+
"Question": "bye",
|
| 90 |
+
"Answer": "You're welcome! Feel free to reach out anytime."
|
| 91 |
},
|
| 92 |
{
|
| 93 |
+
"Session ID": "Ghulam_Baqir",
|
| 94 |
+
"Timestamp": "2026-05-26T16:36:11.416955+00:00",
|
| 95 |
+
"Question": "how many leaves per annum",
|
| 96 |
+
"Answer": "You are entitled to a maximum of <b>8 Sick Leave</b> days and <b>10 Casual Leave</b> days per annum."
|
| 97 |
},
|
| 98 |
{
|
| 99 |
+
"Session ID": "Ghulam_Baqir",
|
| 100 |
+
"Timestamp": "2026-05-26T16:36:24.234369+00:00",
|
| 101 |
+
"Question": "paid leaves",
|
| 102 |
+
"Answer": "<b>Sick Leave:</b> 8 days<br>\n<b>Casual Leave:</b> 10 days<br>\n<b>Annual Leave:</b> 14 days<br>\n<b>Maternity Leave:</b> 90 days<br>\n<b>Paternity Leave:</b> 3 days<br>\n<b>Bereavement Leave:</b> 3 days<br>\n<b>Hajj Leave:</b> 30 days"
|
| 103 |
},
|
| 104 |
{
|
| 105 |
+
"Session ID": "Ghulam_Baqir",
|
| 106 |
+
"Timestamp": "2026-05-26T16:36:51.465234+00:00",
|
| 107 |
+
"Question": "paid leaves per annum",
|
| 108 |
+
"Answer": "<b>Sick Leave:</b> 8 days<br>\n<b>Casual Leave:</b> 10 days<br>\n<b>Annual Leave:</b> 14 days<br>\n<b>Maternity Leave:</b> 90 days<br>\n<b>Paternity Leave:</b> 3 days<br>\n<b>Bereavement Leave:</b> 3 days<br>\n<b>Hajj Leave:</b> 30 days"
|
| 109 |
},
|
| 110 |
{
|
| 111 |
+
"Session ID": "Ghulam_Baqir",
|
| 112 |
+
"Timestamp": "2026-05-26T16:37:18.395612+00:00",
|
| 113 |
+
"Question": "prorata",
|
| 114 |
+
"Answer": "I don't have details on that - reach out to <b>HR</b> via the <b>Portal</b> for accurate info."
|
| 115 |
},
|
| 116 |
{
|
| 117 |
+
"Session ID": "Ghulam_Baqir",
|
| 118 |
+
"Timestamp": "2026-05-26T17:02:08.590203+00:00",
|
| 119 |
+
"Question": "procedure to take hajj leaves",
|
| 120 |
+
"Answer": "• Your leave application must be submitted three months in advance for the necessary approval. \n• A copy of your Hajj Passport/Visa needs to be submitted to HR. \n• Hajj leave will be granted only once during your entire employment period."
|
| 121 |
},
|
| 122 |
{
|
| 123 |
+
"Session ID": "Ghulam_Baqir",
|
| 124 |
+
"Timestamp": "2026-05-26T17:05:33.646593+00:00",
|
| 125 |
+
"Question": "how many paid leaves per annum",
|
| 126 |
+
"Answer": "You are entitled to a maximum of <b>18 paid leaves</b> per annum, which includes <b>8 Sick Leaves</b> and <b>10 Casual Leaves</b>."
|
| 127 |
},
|
| 128 |
{
|
| 129 |
+
"Session ID": "Ghulam_Baqir",
|
| 130 |
+
"Timestamp": "2026-05-26T17:07:09.285097+00:00",
|
| 131 |
+
"Question": "why you didnt mentioned annual leaves",
|
| 132 |
+
"Answer": "The focus of your previous question was specifically on Hajj leave, which is a separate entitlement from annual leave. However, to clarify, all full-time confirmed employees are entitled to <b>14 days of paid annual leave</b> after completing one year of service. If you have any further questions about annual leave or any other type of leave, feel free to ask!"
|
| 133 |
}
|
| 134 |
]
|
app/services/llm.py
CHANGED
|
@@ -81,6 +81,7 @@ You think like an expert HR consultant, not a keyword matcher. When Expert Data
|
|
| 81 |
✦ REASON FROM POLICY: If Expert Data contains a rule or process that answers the user's question — even indirectly — explain it clearly. Do NOT say "I don't have that information" when the answer CAN be reasoned from the provided data.
|
| 82 |
|
| 83 |
✦ ELIGIBILITY BRIDGE: If a policy is for "female employees", explicitly inform male users they are not eligible but proactively suggest relevant alternatives (e.g., Paternity Leave).
|
|
|
|
| 84 |
✦ MANAGEMENT RIGHTS: Unless a policy states otherwise, assume Management/HR has the final authority to reject, approve, or revoke any request based on business needs.
|
| 85 |
✦ POLICY APPLICATION: If a user asks for something exceeding a limit (e.g., "2 months salary advance" when limit is 1 month), explicitly state the limit and deny.
|
| 86 |
✦ SITUATIONAL "WHAT IF": If a user asks about consequences (e.g., "not informing HR"), explain the penalty or policy violation mentioned in the context.
|
|
|
|
| 81 |
✦ REASON FROM POLICY: If Expert Data contains a rule or process that answers the user's question — even indirectly — explain it clearly. Do NOT say "I don't have that information" when the answer CAN be reasoned from the provided data.
|
| 82 |
|
| 83 |
✦ ELIGIBILITY BRIDGE: If a policy is for "female employees", explicitly inform male users they are not eligible but proactively suggest relevant alternatives (e.g., Paternity Leave).
|
| 84 |
+
✦ PROBATION & LEAVES: Employees in their probation/initial evaluation period are NOT entitled to any paid leaves. Any leave taken during probation is strictly UNPAID (Absent Without Pay). If a user on probation asks if their leave will be paid, explicitly tell them it will be UNPAID.
|
| 85 |
✦ MANAGEMENT RIGHTS: Unless a policy states otherwise, assume Management/HR has the final authority to reject, approve, or revoke any request based on business needs.
|
| 86 |
✦ POLICY APPLICATION: If a user asks for something exceeding a limit (e.g., "2 months salary advance" when limit is 1 month), explicitly state the limit and deny.
|
| 87 |
✦ SITUATIONAL "WHAT IF": If a user asks about consequences (e.g., "not informing HR"), explain the penalty or policy violation mentioned in the context.
|