Development of a Yoruba-Centric Chatbot Utilizing Retrieval-Augmented Generation for Cognitive Behavioural Therapy
Student: Ahmad Babatunde Tijani (Project, 2025)
Department of Computer Science
University of Ilorin, Kwara State
Abstract
Mental health disorders continue to pose significant challenges globally, with limited access to culturally relevant and affordable therapy in many regions, including Nigeria. This project presents the development of a Yoruba-centric chatbot designed to provide cognitive behavioural therapy (CBT) using Retrieval-Augmented Generation (RAG). The solution aims to bridge the linguistic and accessibility gaps in mental health care for Yoruba-speaking populations by integrating large language models (LLMs) with a vector database containing translated and annotated CBT resources in Yoruba. The system leverages Meta AI's No Language Left Behind (NLLB) for data translation, Pinecone for vector storage, and Google's Gemini model for generative responses. Culturally aligned therapeutic content, including Yoruba proverbs and localized dialogue, was used to enhance contextual relevance. The chatbot was deployed via Streamlit, offering an accessible web-based interface for users to receive support in their native language. Evaluation metrics, including ROUGE and METEOR, were applied to assess the accuracy, coherence, and semantic relevance of responses. The results demonstrate that the chatbot effectively delivers contextually appropriate mental health support while preserving cultural and linguistic authenticity. This study highlights the potential of Artificial Intelligence (AI) in democratizing access to mental health services for underrepresented language communities and sets a framework for expanding such interventions to other African languages and cultures.
Keywords
For the full publication, please contact the author directly at: ahmadtijani1639@gmail.com
Filters
Institutions
- Ekiti State University 58
- Ekiti State University, Ado-Ekiti, Ekiti State 881
- Elizade University, Ilara-Mokin, Ondo State 100
- Emmanuel Alayande College of Education, Oyo. (affl To Ekiti State Univ) 2
- Enugu State Polytechnic, Iwollo, Enugu State 4
- Enugu State University of Science and Technology, Enugu, Enugu State 29
- Evangel University, Akaeze, Ebonyi State 2
- FCT COLLEGE OF EDUCATION, ZUBA ,( AFFILIATED TO ABU, ZARIA), FCT-ABUJA 5
- Federal College of Agricultural Produce Tech, Hotoro Gra Ext, Kano, Kano State 2
- Federal College of Educ. (Special), Oyo, Oyo State (Aff To Uni. Ibadan) 10