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
- Kebbi State University of Science and Technology, Aliero, Kebbi State 6
- Kenule Benson Saro-Wiwa Polytechnic, Bori, Rivers State 18
- Kogi State Polytechnic, Lokoja, Kogi State 4
- Kogi State University, Anyigba 2
- Kwara State College of Health Technology, offa, Kwara State 9
- Kwara State Polytechnic, Ilorin, Kwara State 20
- Kwara State University, Malete, Ilorin, Kwara State 13
- Ladoke Akintola University of Technology, Ogbomoso, Oyo State 39
- Lagos State Poly, Ikorodu, Lagos State 2
- Lagos State University, Ojo, Lagos State 8