File size: 2,752 Bytes
326618a
 
 
 
 
 
 
 
 
 
 
 
 
28da4cd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
---
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](https://quantumcoders-thesdgguardiansai.streamlit.app/).

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:

```sh
git clone https://github.com/codingxperience/QuantumCoders-TheSDGGuardiansAI.git
cd QuantumCoders-TheSDGGuardiansAI
```

Install dependencies:

```sh
pip install -r requirements.txt
```

Run the application:

```sh
streamlit run app.py
```

## Usage

1. Type a message in the input box and press **Enter**.
2. View responses in the chat window.
3. Click on **Sample Questions** to see common queries.
4. 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.