Logo Lanfrica

Kayla-Mok2025/Safespace

Domain:

healthcarenatural language processing

Record type:

softwareproject
Creator:
Kay
Host:
SafeSpace is a digital health initiative focused on improving adolescent sexual and reproductive health (SRH) in Tanzania. # SafeSpace SafeSpace is a digital health initiative focused on improving adolescent sexual and reproductive health (SRH) in Tanzania. It provides a chatbot experience that helps Tanzanian adolescents access private, educational, and easy-to-understand SRH information. A multilingual SRH chatbot for Tanzanian adolescents, powered by retrieval and Gemini. ## Overview SafeSpace is designed to make sexual and reproductive health information more accessible for young people in Tanzania. The system supports guided topic exploration, multilingual interaction, anonymous return visits, and chatbot-based question answering. It combines database retrieval and Gemini-based response generation to provide more relevant and grounded answers. ## Highlights - Built a multilingual adolescent health chatbot for Tanzania - Integrated Gemini with retrieval-based grounding - Used Supabase to support anonymous code login and chat history recovery - Designed features for usability, privacy, and accessibility ## Features - Hotline support for urgent help-seeking - Anonymous user code for returning users - Conversation history recovery through Supabase - User feedback collection for each chatbot response - Swahili / English language toggle - Light / dark mode - Chatbot-based question answering - Topic-guided questions for easier navigation - Gender survey at the beginning of the conversation ## User Flow 1. The user clicks **Start Now** 2. The user selects a gender option or skips the question 3. The user either types a question or chooses one from the topic list 4. The system performs risk detection 5. The system searches the database for highly similar questions 6. If a strong match is found, the matched content is passed to Gemini to generate a grounded response 7. If no strong match is found, Gemini generates the response directly 8. The user receives the answer and can leave feedback on the response ## Tech Stack - **Frontend:** React, Vite, JavaScript, CSS - **Backend:** N …