Update app.py
Browse files
app.py
CHANGED
|
@@ -649,7 +649,6 @@ def get_recommendation_with_agent(user_id, merchant, category, amount):
|
|
| 649 |
output += f"- {warning}\n"
|
| 650 |
output += "\n---\n"
|
| 651 |
|
| 652 |
-
# β
Calculation details with better explanation
|
| 653 |
# β
Calculation details with better explanation
|
| 654 |
output += f"""<details>
|
| 655 |
<summary>π <b>Annual Impact Calculation</b> (Click to expand)</summary>
|
|
@@ -697,7 +696,8 @@ def get_recommendation_with_agent(user_id, merchant, category, amount):
|
|
| 697 |
# β
Create chart
|
| 698 |
chart = create_agent_recommendation_chart_enhanced(recommendation)
|
| 699 |
if llamaindex_context or spending_warnings:
|
| 700 |
-
|
|
|
|
| 701 |
---
|
| 702 |
|
| 703 |
*π€ Enhanced with AI-powered knowledge retrieval using LlamaIndex + OpenAI Embeddings*
|
|
|
|
| 649 |
output += f"- {warning}\n"
|
| 650 |
output += "\n---\n"
|
| 651 |
|
|
|
|
| 652 |
# β
Calculation details with better explanation
|
| 653 |
output += f"""<details>
|
| 654 |
<summary>π <b>Annual Impact Calculation</b> (Click to expand)</summary>
|
|
|
|
| 696 |
# β
Create chart
|
| 697 |
chart = create_agent_recommendation_chart_enhanced(recommendation)
|
| 698 |
if llamaindex_context or spending_warnings:
|
| 699 |
+
output += f"""
|
| 700 |
+
|
| 701 |
---
|
| 702 |
|
| 703 |
*π€ Enhanced with AI-powered knowledge retrieval using LlamaIndex + OpenAI Embeddings*
|