Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -197,6 +197,88 @@ def hibot_response(message, history):
|
|
| 197 |
+ DISCLAIMER
|
| 198 |
)
|
| 199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 200 |
return (
|
| 201 |
"I'm here to help with Harvard immigration questions (I-20, OPT, ICE, travel, SSN, health insurance, work, SEVIS, deadlines, emergencies, and more).\n"
|
| 202 |
"Try asking: How do I apply for my I-20? What is the process for OPT? What should I do if ICE comes to my door? How do I get a travel signature? How do I apply for a Social Security Number? What are the health insurance requirements? Can I work on campus as an international student? How do I pay the SEVIS fee? Where can I find important deadlines? How do I contact the HIO?"
|
|
|
|
| 197 |
+ DISCLAIMER
|
| 198 |
)
|
| 199 |
|
| 200 |
+
# New Q&As below:
|
| 201 |
+
|
| 202 |
+
if "update my address" in q or "update my contact" in q or "change of address" in q:
|
| 203 |
+
return (
|
| 204 |
+
"You must update your U.S. address and contact info within 10 days of any change. "
|
| 205 |
+
"Log in to your Harvard student portal and update your address. The HIO will automatically update SEVIS. "
|
| 206 |
+
"Keeping your information current is required by law."
|
| 207 |
+
+ DISCLAIMER
|
| 208 |
+
)
|
| 209 |
+
|
| 210 |
+
if "lose my passport" in q or "lost my passport" in q or "lose my visa" in q or "lost my visa" in q:
|
| 211 |
+
return (
|
| 212 |
+
"If you lose your passport, immediately report it to the local police and obtain a police report. "
|
| 213 |
+
"Contact your country’s embassy or consulate for a replacement. If your visa is lost, you must apply for a new visa at a U.S. consulate abroad. "
|
| 214 |
+
"Notify the HIO for further guidance."
|
| 215 |
+
+ DISCLAIMER
|
| 216 |
+
)
|
| 217 |
+
|
| 218 |
+
if "dependents" in q or "spouse" in q or "children" in q:
|
| 219 |
+
return (
|
| 220 |
+
"F-2 dependents (spouse/children of F-1 students) may study part-time but cannot work. "
|
| 221 |
+
"J-2 dependents (spouse/children of J-1 students) may apply for work authorization (EAD) from USCIS. "
|
| 222 |
+
"Contact the HIO for application assistance."
|
| 223 |
+
+ DISCLAIMER
|
| 224 |
+
)
|
| 225 |
+
|
| 226 |
+
if "cpt" in q or "curricular practical training" in q:
|
| 227 |
+
return (
|
| 228 |
+
"Curricular Practical Training (CPT) allows F-1 students to participate in paid internships or employment that is integral to their degree. "
|
| 229 |
+
"You must have completed one academic year before applying. Submit a CPT request form via the HIO website, along with your job offer letter and academic advisor’s approval. "
|
| 230 |
+
"Wait for CPT authorization on your I-20 before starting work. More info: https://www.hio.harvard.edu/f-1-curricular-practical-training-cpt"
|
| 231 |
+
+ DISCLAIMER
|
| 232 |
+
)
|
| 233 |
+
|
| 234 |
+
if "academic training" in q:
|
| 235 |
+
return (
|
| 236 |
+
"Academic Training allows J-1 students to work in a job related to their field of study, either during or after their program. "
|
| 237 |
+
"Apply by submitting the Academic Training Request Form and supporting documents to the HIO. "
|
| 238 |
+
"You must have a job offer and receive written authorization from the HIO before starting. "
|
| 239 |
+
"More info: https://www.hio.harvard.edu/j-1-academic-training"
|
| 240 |
+
+ DISCLAIMER
|
| 241 |
+
)
|
| 242 |
+
|
| 243 |
+
if "invite family" in q or "invite friends" in q or "visitor visa" in q:
|
| 244 |
+
return (
|
| 245 |
+
"To invite family or friends, write a personal invitation letter and provide copies of your I-20/DS-2019, passport, and visa. "
|
| 246 |
+
"Your visitors may need to apply for a B-2 tourist visa at a U.S. consulate. "
|
| 247 |
+
"The HIO provides sample invitation letters on their website: https://www.hio.harvard.edu/inviting-family-and-friends"
|
| 248 |
+
+ DISCLAIMER
|
| 249 |
+
)
|
| 250 |
+
|
| 251 |
+
if "transfer my sevis" in q or "transfer sevis" in q or "transfer to another school" in q:
|
| 252 |
+
return (
|
| 253 |
+
"To transfer your SEVIS record, submit a SEVIS Transfer-Out Request Form to the HIO along with your admission letter from the new school. "
|
| 254 |
+
"The HIO will release your SEVIS record on your requested date. You must complete the process before your new program starts. "
|
| 255 |
+
"More info: https://www.hio.harvard.edu/sevis-transfer"
|
| 256 |
+
+ DISCLAIMER
|
| 257 |
+
)
|
| 258 |
+
|
| 259 |
+
if "leave of absence" in q or "taking a leave" in q:
|
| 260 |
+
return (
|
| 261 |
+
"Contact your academic advisor and the HIO before taking a leave of absence. "
|
| 262 |
+
"Your SEVIS record may need to be terminated or updated, and you may need a new I-20/DS-2019 to return. "
|
| 263 |
+
"Plan ahead and consult the HIO for reentry guidance."
|
| 264 |
+
+ DISCLAIMER
|
| 265 |
+
)
|
| 266 |
+
|
| 267 |
+
if "massachusetts id" in q or "driver’s license" in q or "drivers license" in q:
|
| 268 |
+
return (
|
| 269 |
+
"You can apply for a Massachusetts state ID or driver’s license at the Registry of Motor Vehicles (RMV). "
|
| 270 |
+
"Bring your passport, I-20/DS-2019, I-94, proof of Massachusetts address, and Social Security card (if you have one). "
|
| 271 |
+
"See the HIO website for a checklist: https://www.hio.harvard.edu/massachusetts-drivers-license-or-state-id"
|
| 272 |
+
+ DISCLAIMER
|
| 273 |
+
)
|
| 274 |
+
|
| 275 |
+
if "tax" in q or "taxes" in q or "tax filing" in q:
|
| 276 |
+
return (
|
| 277 |
+
"All international students must file at least one tax form each year, even if they earned no income. "
|
| 278 |
+
"The HIO provides free access to tax filing software (such as Sprintax) and hosts tax info sessions each spring. "
|
| 279 |
+
"See https://www.hio.harvard.edu/tax-filing-information for details."
|
| 280 |
+
+ DISCLAIMER
|
| 281 |
+
)
|
| 282 |
return (
|
| 283 |
"I'm here to help with Harvard immigration questions (I-20, OPT, ICE, travel, SSN, health insurance, work, SEVIS, deadlines, emergencies, and more).\n"
|
| 284 |
"Try asking: How do I apply for my I-20? What is the process for OPT? What should I do if ICE comes to my door? How do I get a travel signature? How do I apply for a Social Security Number? What are the health insurance requirements? Can I work on campus as an international student? How do I pay the SEVIS fee? Where can I find important deadlines? How do I contact the HIO?"
|