Spaces:
Sleeping
Sleeping
Toan2004-ai commited on
Commit ·
ab8f91a
1
Parent(s): 7fb4fa4
add readme config
Browse files
engine.py
CHANGED
|
@@ -220,7 +220,7 @@ def final_process_eme_technical_guided(input_text):
|
|
| 220 |
"value_display": f"${amount}" if amount else None,
|
| 221 |
"is_recurring": False if "Once Off" in desc else True,
|
| 222 |
"tax_inclusive": True,
|
| 223 |
-
"customer_scope":
|
| 224 |
"limit_per_account": None,
|
| 225 |
"trigger": "FIRST_BILL" if "Once Off" in desc else None
|
| 226 |
})
|
|
|
|
| 220 |
"value_display": f"${amount}" if amount else None,
|
| 221 |
"is_recurring": False if "Once Off" in desc else True,
|
| 222 |
"tax_inclusive": True,
|
| 223 |
+
"customer_scope": [model_eligibility["customer_type"]] if isinstance(model_eligibility.get("customer_type"), str) else model_eligibility.get("customer_type", []),
|
| 224 |
"limit_per_account": None,
|
| 225 |
"trigger": "FIRST_BILL" if "Once Off" in desc else None
|
| 226 |
})
|