Medivocate – Exploring African History and Culture with AI
Published:
Project Title: Medivocate – Exploring African History and Culture with AI
Project Overview:
Medivocate is an AI-powered platform designed to provide an engaging and informative experience in exploring African history, culture, and traditional medicine. By combining Retrieval-Augmented Generation (RAG) techniques with state-of-the-art AI models, the platform enables users to delve into Africa’s rich heritage through accurate, contextually relevant insights. The application is deployed as a Hugging Face Space and showcases the intersection of technology and cultural preservation.
Project Objectives:
- Promote Understanding of African Heritage:
- Provide users with accurate and accessible information about African history, culture, and traditional knowledge systems.
- Highlight the role of traditional African medicine as a key aspect of cultural identity.
- Leverage Advanced AI Techniques:
- Employ Retrieval-Augmented Generation (RAG) for precise and context-aware responses.
- Utilize Optical Character Recognition (OCR) to process historical documents and enrich the knowledge base.
- Engage a Diverse Audience:
- Create an interactive and inclusive platform for researchers, educators, and enthusiasts.
- Combat misinformation about Africa’s history and promote accurate narratives.
Methodology:
The project integrates several components to achieve its goals:
- Data Understanding and Preparation:
- Curated datasets covering African history, cultural milestones, and traditional medicinal practices.
- Preprocessed documents and texts using OCR tools like EasyOCR, PyMuPDF, and pdf2image for seamless digitization.
- Knowledge Retrieval and Interaction:
Retrieval-Augmented Generation (RAG):
Combined language models with ChromaDB and BM25 ranking for effective document retrieval and context-driven answers.
Keyphrase Extraction:
Used KeyBERT to extract key themes and phrases, enhancing query relevance and document indexing.
- Interactive User Interface:
- Built with Gradio , offering an intuitive interface for users to ask questions and receive AI-generated insights.
Tools and Technologies:
- AI Frameworks and Libraries:
- LangChain, Ollama, and ChromaDB for RAG and model orchestration.
- Hugging Face for deploying the application and accessing pre-trained language models.
- OCR and Text Processing:
- EasyOCR, PyMuPDF, pdf2image, and Pillow for extracting text from historical documents.
- Development and Deployment Tools:
- Gradio for the user interface.
- Python and key libraries like tqdm and rank_bm25 for backend processing.
Project Report:
Medivocate provides a seamless experience for users to explore African history, leveraging AI to enhance educational outreach. The platform effectively integrates traditional knowledge systems, making them accessible to modern audiences. Detailed documentation is available, outlining the methodologies, challenges, and solutions implemented in the project.
Outcome and Future Work:
Cultural Impact:
Medivocate enriches understanding of African heritage, fostering global appreciation for its history and traditions.
Educational Outreach:
The platform serves as a resource for schools, universities, and independent researchers, promoting accurate knowledge about Africa.
Continuous Development:
Future plans include expanding datasets, incorporating additional languages, and enhancing interactivity for broader reach.
Explore Medivocate:
- GitHub: Medivocate Repository
- Deployed Application: Medivocate on Hugging Face