AI technology is advancing all the time. It could help those who have mood swings in the near future.
https://www.nature.com/news/ai-controlled-brain-implants-for-mood-disorders-tested-in-people-1.23031?fbclid=IwAR0X7syllh77a2opyaSUm0YN5qLu_EIa-qbwyjjk8opsMgCdb7PEjqeGV3Q