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
- Abdul-Gusau Polytechnic, Talata-Mafara, Zamfara State 3
- Abia State Polytechnic, Aba, Abia State 24
- Abia State University, Uturu, Abia State 71
- Abraham Adesanya Polytechnic, Ijebu-Igbo, Ogun State 3
- Abubakar Tafawa Balewa University, Bauchi, Bauchi State 15
- Abubakar Tatari Ali Polytechnic, Bauchi State. (affiliated To Atbu Bauchi) 1
- Achievers University, Owo, Ondo State 6
- Adamawa State University, Mubi, Adamawa State 8
- Adekunle Ajasin University, Akungba-Akoko, Ondo State 26
- Adeleke University, Ede, Osun State 1