Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display suicide prevention resources after detecting possibly suicidal messages #51

Closed
Yousef-Bulbulia opened this issue Nov 29, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Yousef-Bulbulia
Copy link
Member

What problem are you facing?

Since many people use the bot for venting about mental health issues, occasionally someone will send a message that is possibly suicidal.

What can we do to fix that problem?

When a user sends a message, we can search for any words related to suicide, and if any appear, we can respond with a message that lists suicide prevention resources.

@Yousef-Bulbulia Yousef-Bulbulia added the enhancement New feature or request label Nov 29, 2021
@Yousef-Bulbulia Yousef-Bulbulia self-assigned this Nov 29, 2021
@Yousef-Bulbulia Yousef-Bulbulia changed the title Display suicide prevention resourcs after detecting possibly suicidal messages Display suicide prevention resources after detecting possibly suicidal messages Dec 5, 2021
@Multivalence
Copy link

We could use NLP to accomplish this. There is a repository that gathers data sets from subreddits where suicidal comments are common and detects if other comments are suicidal. https://github.com/hesamuel/goodbye_world.

@Yousef-Bulbulia
Copy link
Member Author

Ooh thanks for linking that! Yeah I agree, we should use that repo and test it out to see how well it performs.

@Multivalence
Copy link

Yeah. Since it's written in Python, I think it would be easier to create a stand-alone REST API using a library like Flask. The bot sends a request to it with a message payload and it returns how likely it is to be suicidal.

@Yousef-Bulbulia
Copy link
Member Author

This will be unnecessary once issue #56 is implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants