Spaces:
Sleeping
Sleeping
File size: 1,451 Bytes
115011f |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
from modules.profile_matcher import match_profiles
from modules.interview_scheduler import suggest_slots
from modules.kyc_processor import extract_text_from_id, verify_id
from modules.onboarding_trainer import generate_quiz
from modules.performance_tracker import analyze_performance
from modules.agent_motivation import personalized_nudge
def main():
print("\n--- Agent Recruitment & Management AI App ---")
# 1. Profile Matching
print("\n[1] Profile Matching:")
resume = "Experienced insurance agent with proven sales..."
job = "Insurance Sales Agent"
print("Match:", match_profiles(resume, job))
# 2. Interview Scheduling
print("\n[2] Interview Scheduling:")
slots = suggest_slots({'2025-06-20': ['10:00 AM', '3:00 PM']})
print("Suggested:", slots)
# 3. KYC Verification
print("\n[3] KYC Document Verification:")
text = extract_text_from_id("sample_id.jpg")
print("Verified:", verify_id(text))
# 4. Onboarding Quiz
print("\n[4] AI Onboarding Quiz:")
quiz = generate_quiz("Insurance Policy")
print("Quiz:", quiz)
# 5. Performance Tracking
print("\n[5] Agent Performance Alerts:")
agents = [{'name': 'Ravi', 'sales': 3}, {'name': 'Priya', 'sales': 8}]
print("Alerts:", analyze_performance(agents))
# 6. Motivation
print("\n[6] Motivation Nudges:")
print(personalized_nudge("Ravi", "10 client meetings"))
if __name__ == "__main__":
main()
|