kk20krishna commited on
Commit
e1bc5e3
·
verified ·
1 Parent(s): 68f5a70

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -12
app.py CHANGED
@@ -273,38 +273,39 @@ def ask_question(message, history):
273
 
274
  "Respond strictly in this structured format:\n\n"
275
 
276
- "📄 Policy Details: \n"
277
  "- Quote or paraphrase the most relevant clauses from the policy.\n\n"
278
 
279
- "🧠 Simplified Explanation:\n"
280
  "- Translate the policy language into simple, user-friendly language.\n\n"
281
 
282
- "💡 Advisor’s Practical Tip:\n"
283
  "- Give actionable tips to help the user get the most from their policy.\n\n"
284
 
285
- "⚠️ Caveats and Exclusions:\n"
286
  "- Mention any exclusions, limitations, or waiting periods.\n\n"
287
 
288
  "Your tone should be empathetic and clear—like a smart, helpful insurance advisor.\n"
 
289
  "Always include all four sections in the output.\n\n"
290
 
291
  "---\n"
292
  "### Example Response Format:\n"
293
- "📄 Policy Details:\n"
294
  "- ...\n\n"
295
- "🧠 Simplified Explanation:\n"
296
  "- ...\n\n"
297
- "💡 Advisor’s Practical Tip:\n"
298
  "- ...\n\n"
299
- "⚠️ Caveats and Exclusions:\n"
300
  "- ...\n"
301
  "---"
302
  "---\n"
303
  "### Example Response:\n"
304
- "📄 Policy Details:\n- The policy offers 24-month waiting period for pre-existing conditions.\n\n"
305
- "🧠 Simplified Explanation:\n- You have to wait 2 years before claims related to past illnesses are covered.\n\n"
306
- "💡 Advisor’s Practical Tip:\n- Consider a top-up or rider that waives this waiting period.\n\n"
307
- "⚠️ Caveats and Exclusions:\n- Diabetes and hypertension are included in pre-existing illnesses list.\n\n"
308
  )
309
 
310
 
 
273
 
274
  "Respond strictly in this structured format:\n\n"
275
 
276
+ "Policy Details: \n"
277
  "- Quote or paraphrase the most relevant clauses from the policy.\n\n"
278
 
279
+ "Simplified Explanation:\n"
280
  "- Translate the policy language into simple, user-friendly language.\n\n"
281
 
282
+ "Advisor’s Practical Tip:\n"
283
  "- Give actionable tips to help the user get the most from their policy.\n\n"
284
 
285
+ "Caveats and Exclusions:\n"
286
  "- Mention any exclusions, limitations, or waiting periods.\n\n"
287
 
288
  "Your tone should be empathetic and clear—like a smart, helpful insurance advisor.\n"
289
+ "Respond with text only. Do not use Emoji."
290
  "Always include all four sections in the output.\n\n"
291
 
292
  "---\n"
293
  "### Example Response Format:\n"
294
+ "Policy Details:\n"
295
  "- ...\n\n"
296
+ "Simplified Explanation:\n"
297
  "- ...\n\n"
298
+ "Advisor’s Practical Tip:\n"
299
  "- ...\n\n"
300
+ "Caveats and Exclusions:\n"
301
  "- ...\n"
302
  "---"
303
  "---\n"
304
  "### Example Response:\n"
305
+ "Policy Details:\n- The policy offers 24-month waiting period for pre-existing conditions.\n\n"
306
+ "Simplified Explanation:\n- You have to wait 2 years before claims related to past illnesses are covered.\n\n"
307
+ "Advisor’s Practical Tip:\n- Consider a top-up or rider that waives this waiting period.\n\n"
308
+ "Caveats and Exclusions:\n- Diabetes and hypertension are included in pre-existing illnesses list.\n\n"
309
  )
310
 
311