A newer version of the Streamlit SDK is available:
1.44.1
title: Climate Change Awareness Chatbot
emoji: π
colorFrom: green
colorTo: blue
sdk: streamlit
sdk_version: 1.25.0
app_file: app.py
pinned: false
Climate Change Awareness Chatbot
Overview
The app is now live! Try playing with it here: QuantumCoders-TheSDGGuardiansAI.
The Climate Change Awareness Chatbot is an AI-powered chatbot designed to educate users in Uganda about climate change, sustainability, and eco-friendly practices. It provides factual answers to questions on climate change impacts, sustainable farming, afforestation, renewable energy, and more.
Features
- Interactive Chat: Users can ask climate-related questions and receive AI-generated responses.
- Localized Context: Focuses on climate issues specific to Uganda.
- Chat History: Keeps track of past conversations in the sidebar.
- Avatars: Displays user and chatbot messages with appropriate icons.
- Sample Questions: Provides predefined questions to guide users.
- Clear Chat History: Users can reset conversations from the sidebar.
Technologies Used
- Python
- Streamlit (for UI and chat interaction)
- Hugging Face Transformers (for NLP model)
- ClimateBERT (for climate-related question answering)
Installation
Clone the repository:
git clone https://github.com/codingxperience/QuantumCoders-TheSDGGuardiansAI.git
cd QuantumCoders-TheSDGGuardiansAI
Install dependencies:
pip install -r requirements.txt
Run the application:
streamlit run app.py
Usage
- Type a message in the input box and press Enter.
- View responses in the chat window.
- Click on Sample Questions to see common queries.
- Use the Clear Chat History button to reset the conversation.
Future Enhancements
Expanding coverage to include other African regions in future versions.
Retraining the model with Ugandan-specific climate data to improve relevance and accuracy for local environmental challenges.
Integration with real-time climate data APIs.
Visualization of climate trends and statistics.
Multilingual support in English, Luganda, and Swahili.
Offline and USSD capabilities for users in low or no-internet areas.
Support for voice, image, and video interactions.
Integration with social media platforms.
Contributing
Pull requests are welcome! If you'd like to contribute, please fork the repository and create a new branch for your changes.
License
This project is for educational purposes and is open for improvement and collaboration.
Developed as part of the QuantumCoders-TheSDGGuardiansAI - 2024 initiative for a greener Uganda.