Vaibhav84 commited on
Commit
006fe8b
·
1 Parent(s): 31f56d4
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -306,13 +306,15 @@ def get_content_recommendations(customer_id: str, n: int = 5) -> List[Dict]:
306
  content_suggestions.append({
307
  "type": "Video",
308
  "title": f"Advanced {category} Strategies",
309
- "category": category
 
310
  })
311
  elif category == 'Insurance':
312
  content_suggestions.append({
313
  "type": "Article",
314
  "title": f"Understanding Your {category} Options",
315
- "category": category
 
316
  })
317
 
318
  # Remove duplicates and limit to n recommendations
 
306
  content_suggestions.append({
307
  "type": "Video",
308
  "title": f"Advanced {category} Strategies",
309
+ "category": category,
310
+ "descrption":cleaned_response
311
  })
312
  elif category == 'Insurance':
313
  content_suggestions.append({
314
  "type": "Article",
315
  "title": f"Understanding Your {category} Options",
316
+ "category": category,
317
+ "descrption":cleaned_response
318
  })
319
 
320
  # Remove duplicates and limit to n recommendations