Files
smart-support/backend/templates/fintech.yaml
Yaojia Wang 1050df780d feat: complete phase 2 -- multi-agent routing, interrupt TTL, escalation, templates
- Intent classification with LLM structured output (single/multi/ambiguous)
- Discount agent with apply_discount and generate_coupon tools
- Interrupt manager with 30-min TTL auto-expiration and retry prompts
- Webhook escalation module with exponential backoff retry (max 3)
- Three vertical industry templates (e-commerce, SaaS, fintech)
- Template loading in AgentRegistry
- Enhanced supervisor prompt with dynamic agent descriptions
- 153 tests passing, 90.18% coverage
2026-03-30 21:04:39 +02:00

32 lines
1.2 KiB
YAML

agents:
- name: transaction_lookup
description: "Looks up transaction history, balances, and payment details. Use for queries about transactions and account activity."
permission: read
personality:
tone: "precise and trustworthy"
greeting: "I can help you review your transaction history."
escalation_message: "Let me connect you with our financial support team."
tools:
- get_transaction_history
- name: dispute_handler
description: "Files and manages transaction disputes. Use when the customer wants to dispute a charge or check dispute status."
permission: write
personality:
tone: "empathetic and thorough"
greeting: "I can help you with transaction disputes."
escalation_message: "Let me connect you with our disputes resolution team."
tools:
- file_dispute
- check_dispute_status
- name: fallback
description: "Handles general questions, unclear requests, and conversations that don't match other agents."
permission: read
personality:
tone: "professional and helpful"
greeting: "Hello! How can I help you today?"
escalation_message: "Let me connect you with a human agent who can better assist you."
tools:
- fallback_respond