ai triage implementation