Logo Lanfrica

EddyEjembi/My-Nigeria-Chatbot

Domain:

natural language processing

Record type:

software
Creator:
edd
Host:
A fun informative, and educative chatbot to ask questions about Nigeria. # *My Naija Chatbot* A fun, interactive, and educative chatbot that answers questions about Nigeria. Nigeria, officially the Federal Republic of Nigeria, is a country in West Africa. It is situated between the Sahel to the north and the Gulf of Guinea to the south in the Atlantic Ocean. It covers an area of 923,769 square kilometres (356,669 sq mi). With a population of more than 230 million (*Wikipedia*) ## About the Nigeria Chatbot *My Naija Knowledge Bot* is an interactive tool designed to educate users about Nigeria, its people, and its rich history. It serves as an AI-based information assistant, offering insights into various aspects of the nation, such as its constitution, laws, culture, and historical milestones. The chatbot is powered by a Retrieval-Augmented Generation (RAG) agent that leverages curated documents to provide accurate, factual, and detailed responses, and Grok an XAI Large Language Model. ## How it Works *My Naija Knowledge Bot* is a RAG agent that employs an LLM to provide factual and insightful answers to users questions. The Chatbot takes the personality of a fun, informative, educative and patriotic Nigerian with the aim of educating the public about the laws, acts, history, and rights of Nigerians. The chatbot tries to drive patriotism by personalizing it's response and encouraging users on their basic civic duties and rights. ### Knowledge Base The data used as a source of reference and external source of information for the chatbot was gathered and curated from across the internet. Basic information, laws, acts, and history of Nigeria was gathered. One interesting fact about this chatbot, it references it's sources (including a link to the source and page number 🙂). You can access the data at this repository. More data will be added soon 🤞. The model (Grok-beta) has it's own knowledge base which is still helpfull for the chatbot to generate response. ## Technical Details The RAG pipeline was built using Langchain, and the sente …