Artificial intelligence-based tool may help diagnose opioid addiction earlier