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
- Isa Mustapha Agwai I Polytechnic, Lafia, Nasarawa State 2
- Jigawa State Polytechnic, Dutse, Jigawa State 4
- Joseph Sarwuan Tarka University, Makurdi, Benue State 17
- Kaduna Polytechnic (NCE), Kaduna, Kaduna State 2
- Kaduna Polytechnic, Kaduna 330
- Kaduna Polytechnic, Kaduna , Kaduna State (affl To Fed Univ of Tech, Minna) 6
- Kaduna State College of Education, Gidan-Waya (affliatted To Abu) 2
- Kaduna State University, Kaduna, Kaduna State 247
- Kano State Polytechnic, Kano, Kano State 196
- Kano University of Science and Technology, Wudil, Kano State 6