Delete utilities.py
Browse files- utilities.py +0 -19
utilities.py
DELETED
|
@@ -1,19 +0,0 @@
|
|
| 1 |
-
def prepare_text_input(data):
|
| 2 |
-
return (
|
| 3 |
-
f"Stage: {data.get('stage')}, "
|
| 4 |
-
f"Industry: {data.get('industry')}, "
|
| 5 |
-
f"Lead Score: {data.get('lead_score')}, "
|
| 6 |
-
f"Emails: {data.get('emails_last_7_days')}, "
|
| 7 |
-
f"Meetings: {data.get('meetings_last_30_days')}, "
|
| 8 |
-
f"Amount: {data.get('amount')}, "
|
| 9 |
-
f"Close Gap: {data.get('close_date_gap')} days"
|
| 10 |
-
)
|
| 11 |
-
|
| 12 |
-
def generate_recommendation(data):
|
| 13 |
-
stage = data.get("stage", "").lower()
|
| 14 |
-
if stage == "negotiation":
|
| 15 |
-
return "Follow up with final pricing discussion."
|
| 16 |
-
elif stage == "proposal/price quote":
|
| 17 |
-
return "Schedule one more meeting to present value."
|
| 18 |
-
else:
|
| 19 |
-
return "Send an email to re-engage the lead."
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|