Implementation of a voice AI bot for collection reminders. The voice bot for collection works within the framework of pre-trial settlement: it informs about the debt, offers repayment options, records the promise of payment. Efficiency is comparable to operators in the early stages of delinquency (DPD 1-60). ### Legal restrictions (Russian Federation) The work is regulated by 230-FZ "On the protection of the rights and legitimate interests of individuals in the implementation of activities to collect overdue debt": - Calls: no more than 1 time per day, 2 times a week, 8 times a month - Call time: weekdays 8:00–22:00, weekends 9:00–20:00 - Prohibition: threats, false information, psychological pressure - Mandatory: introduce yourself, name the creditor, the amount, the reason ### Dialogue scenario
DEBT_REMINDER_SCRIPT = {
"greeting": (
"Здравствуйте! Это автоматическое уведомление от «{creditor_name}». "
"Соединяю вас с нашей системой обработки задолженности."
),
"identification": (
"Подтвердите, пожалуйста, что вы {customer_name}."
),
"notification": (
"По договору {contract_number} от {contract_date} имеется "
"задолженность в размере {amount} рублей. "
"Срок просрочки составляет {days_overdue} дней."
),
"offer": (
"Вы можете погасить задолженность прямо сейчас по номеру {payment_phone} "
"или на сайте {payment_url}. Хотите договориться о сроке погашения?"
)
}
```### Recognizing intent in the context of debt```python
DEBT_INTENTS = {
"will_pay_today": ["сегодня", "сейчас", "оплачу", "переведу сегодня"],
"will_pay_later": ["потом", "позже", "на следующей неделе", "когда получу"],
"cannot_pay": ["нет денег", "не могу", "финансовые трудности"],
"disputes_debt": ["не знаю такого", "это не мой долг", "не брал кредит"],
"wants_restructure": ["рассрочка", "реструктуризация", "частями"],
"threatens": ["жалоба", "прокуратура", "суд"]
}
```### Payment Promise (PTP) Capture```python
async def process_payment_promise(session: dict, user_text: str) -> dict:
"""Извлекаем дату и сумму обещанного платежа"""
response = await client.chat.completions.create(
model="gpt-4o-mini",
messages=[{
"role": "system",
"content": "Извлеки из текста дату и сумму обещанного платежа. JSON: {'date': 'DD.MM.YYYY', 'amount': N, 'partial': bool}"
}, {"role": "user", "content": user_text}],
response_format={"type": "json_object"}
)
ptp_data = json.loads(response.choices[0].message.content)
# Сохраняем PTP в CRM/базе долгов
await save_ptp(session["debt_id"], ptp_data)
return ptp_data
```Timeline: Reminder bot MVP – 3–4 weeks. Full system with Federal Law 230-FZ compliance and analytics – 2 months.