Skip to content

TomHacker69/EMORA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Here is a clean README.md for your EMORA / SafeSignal AI project:

# EMORA - SafeSignal AI

SafeSignal AI is an AI-based emotion and urgency detection system designed to assist helpline operators in understanding user messages more effectively. It analyzes a user's text message, detects the emotional tone, estimates the urgency level, and generates a supportive response suggestion.

The project is built using Python and Streamlit with a simple modular structure.

---

## Project Overview

Helpline operators often receive emotionally sensitive messages that require quick and careful understanding. SafeSignal AI helps by providing three key outputs:

1. Detected emotion from the user's message
2. Estimated urgency level
3. Suggested response guidance for the operator

This tool is intended to support human operators, not replace them.

---

## Features

- Detects emotional tone from user messages
- Estimates urgency level based on message content and emotion
- Generates supportive response suggestions
- Simple Streamlit-based web interface
- Modular Python code structure
- Easy to run and extend

---

## Tech Stack

- Python
- Streamlit
- Natural Language Processing
- Rule-based / AI-assisted text analysis

---

## Project Structure

```text
EMORA/

├── app/
│   ├── __init__.py
│   ├── emotion_detector.py
│   ├── urgency.py
│   ├── response_generator.py
│   └── main.py

├── README.md
├── requirements.txt

Modules

main.py

This is the main Streamlit application file. It creates the user interface, accepts the helpline message, and displays the analysis results.

emotion_detector.py

This module detects the emotional tone of the entered message.

urgency.py

This module analyzes the message and detected emotion to estimate the urgency level.

response_generator.py

This module generates a suggested response based on the urgency level and emotional tone.


How It Works

  1. The user enters a helpline-style message.
  2. The app analyzes the message using the emotion detection module.
  3. The urgency detection module estimates how serious the message is.
  4. The response generator creates a supportive response suggestion.
  5. The results are displayed in the Streamlit interface.

Installation

Clone the repository:

git clone https://github.com/TomHacker69/EMORA.git

Move into the project folder:

cd EMORA

Install the required dependencies:

pip install -r requirements.txt

Run the Project

Use the following command to start the Streamlit app:

streamlit run app/main.py

After running the command, open the local Streamlit URL shown in the terminal.

Usually, it will be:

http://localhost:8501

Example Usage

Input message:

I am feeling very scared and need help urgently.

Possible output:

Detected Emotion: Fear
Urgency Level: High
Suggested Response: Please stay calm. You are not alone. A support operator should respond as soon as possible.

Use Case

SafeSignal AI can be useful for:

  • Helpline support systems
  • Mental wellness support platforms
  • Emergency support triage tools
  • AI-assisted customer support
  • Emotion-aware chatbot systems

Important Note

SafeSignal AI is only a support tool. It should not be used as a replacement for trained professionals, emergency services, or certified mental health support. Final decisions should always be made by a qualified human operator.


Future Improvements

  • Add machine learning-based emotion classification
  • Improve urgency detection accuracy
  • Add multilingual message support
  • Store analysis history
  • Add dashboard for helpline operators
  • Integrate with chatbot or support ticket systems
  • Add authentication for operators

Author

Developed by TomHacker69


License

This project is open-source and can be modified or extended for learning and development purposes.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages