The five-pattern personality traits rooted in the theory of traditional Chinese medicine (TCM) have promising prospects for clinical application. However, they are currently assessed using a self-report scale, which may have certain limitations. Eye tracking technology, with its non-intrusive, objective, and culturally neutral characteristics, has become a powerful tool for revealing individual cognitive and emotional processes. Therefore, applying this technology for personality assessment is a promising approach. In this study, participants observed five emotional faces (anger, happy, calm, sad, and fear) selected from the Chinese Facial Affective Picture System. Utilizing artificial intelligence algorithms, we evaluated the feasibility of automatically identifying different traits of the five-pattern personality traits from participants' eye movement patterns. Based on the analysis of five supervised learning algorithms, we draw the following conclusions: The Lasso feature selection method and Logistic Regression achieve the highest prediction accuracy for most of the traits (TYa, SYa, SYi, TYi). This study develops a framework for predicting five-pattern personality traits using eye movement behavior, offering a novel approach for personality assessment in TCM.