# Hiding "toxic" messages using the Google Perspective API?

**URL:** https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833
**Category:** General
**Created:** [23.Февраль.2017 13:47:50 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833 "2017-02-23T13:47:50Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![SidV](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sidv/32/119460_2.png) [@SidV](https://meta.discourse.org/u/SidV)
#### Post date: [23.Февраль.2017 13:47:50 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/1 "2017-02-23T13:47:50Z")

</div>

What if technology could help improve conversations online?

> **[Now Anyone Can Deploy Google’s Troll-Fighting AI](https://www.wired.com/2017/02/googles-troll-fighting-ai-now-belongs-world/)**
>
> Google subsidiary Jigsaw is now offering developers access to an API for its AI-based detector for abusive comments.

Interesting API to exclude “toxic” messages from the board: [Perspective API](http://www.perspectiveapi.com/#experiments)

Can you imagine this in discourse? 🤔

---

<div class="post-metadata">

### Author: ![mikechristopher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikechristopher/32/89135_2.png) [@mikechristopher](https://meta.discourse.org/u/mikechristopher)
#### Post date: [23.Февраль.2017 13:56:44 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/2 "2017-02-23T13:56:44Z")

</div>

certainly an interesting concept - I dont know whether it would work for everyone but it makes me wonder having it flag up that what you are posting could be deemed as “toxic” - could that make people change what they are trying to say or would they post it anyway?

Maybe if there was an option to automatically hide or get comments / posts require approval based on the “toxicity” level of the comment would be a potential usecase of it.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [23.Февраль.2017 15:30:33 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/3 "2017-02-23T15:30:33Z")

</div>

I signed up for the API just to check it out, but I doubt this would have any impact in small to medium sized communities.

In my opinion you would need a giant, super active community with limited moderators that participate in “hot” and polarizing topics.

This could possibly be useful to a community like BBS for “auto flagging”, BUT … and there is a giant BUT… you have to send all the content to Google, which, on one hand they can crawl anyway, but on the other hand can be considered a breach of privacy by some users.

---

<div class="post-metadata">

### Author: ![dfabulich](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dfabulich/32/108716_2.png) [@dfabulich](https://meta.discourse.org/u/dfabulich)
#### Post date: [23.Февраль.2017 16:49:00 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/4 "2017-02-23T16:49:00Z")

</div>

How big is “giant?”

I’d certainly be ok with sending all _public_ posts to Google. As you say, we want Google to crawl them anyway?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [23.Февраль.2017 17:10:31 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/5 "2017-02-23T17:10:31Z")

</div>

> [@dfabulich](#):
>
> How big is “giant?”

I would say, big enough that practically many posts will remain unread by a TL3/Staff for many hours.

For whatever your definition of many is.

---

<div class="post-metadata">

### Author: ![JP\_](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jp_/32/115401_2.png) [@JP\_](https://meta.discourse.org/u/JP_)
#### Post date: [23.Февраль.2017 17:27:31 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/6 "2017-02-23T17:27:31Z")

</div>

Came here to see if this had been posted yet. I think it looks really promising. I requested api access – considering implementing it into the video game I’m making. Would love Discourse integration.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [28.Февраль.2017 13:53:43 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/7 "2017-02-28T13:53:43Z")

</div>

It was quite easy to get access, got an email today telling me I am whitelisted for API access, full details of API are here

[https://conversationai.github.io/](https://conversationai.github.io/)

They have a _cough_ google group for announcements here: [Redirecting to Google Groups](https://groups.google.com/forum/#!forum/perspective-announce/join)

We do not have time to experiment with this right now, but maybe one day when I free up or if anyone in the community wants to pick this up and experiment feel free to.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [28.Февраль.2017 20:24:57 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/8 "2017-02-28T20:24:57Z")

</div>

They played with testing it using various texts on BBS.boingboing and it looked .. bad.

---

<div class="post-metadata">

### Author: ![ezworldwide](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ezworldwide/32/49134_2.png) [@ezworldwide](https://meta.discourse.org/u/ezworldwide)
#### Post date: [28.Февраль.2017 20:41:48 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/9 "2017-02-28T20:41:48Z")

</div>

Maybe I’m a bit of a purist when it comes to forums (that really are communities of interest), but I believe that it is the job of admins and moderators to know the climate of their community, the tendencies of their population, and to determine what is right and wrong for their community. In order to do this, admins and mods have to interact with their community. I don’t like the idea of Google making that determination for me. Slippery slope.

However, I do think it might have a role in corporate applications. In my organization, we have over 300+ technical communities of practice, all within STEM disciplines, in an organization with 38k employees around the world. I’m basically the admin/super moderator/janitor for all of these communities (using SharePoint - bleh). Something like this would make my job easier in that application. Disgruntled employees post some strange things before they walk out the door.

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [13.Июнь.2017 15:23:49 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/10 "2017-06-13T15:23:49Z")

</div>

Continued here:

> [@Pre-emptively warning a contributor about the toxicity of their post](https://meta.discourse.org/t/pre-emptively-warning-a-contributor-about-the-toxicity-of-their-post/60357):
>
> I was perusing through the Discourse feature and moderation lists while thinking about various enhancements that could be made to the platform. I stumbled across [this post](https://meta.discourse.org/t/measures-taken-against-bad-behaviour-in-league-of-legends/26084/3) that was focused on how implementing various moderation features to the League of Legends chat dropped the number of offenders down 40-50% and generally improved the chat space. This got me thinking - could you use machine learning to proactively moderate a post? As a user is typing, their text could be analyzed for toxicity…

---

<div class="post-metadata">

### Author: ![erlend\_sh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erlend_sh/32/119475_2.png) [@erlend\_sh](https://meta.discourse.org/u/erlend_sh)
#### Post date: [13.Июнь.2017 15:23:52 UTC](https://meta.discourse.org/t/hiding-toxic-messages-using-the-google-perspective-api/57833/11 "2017-06-13T15:23:52Z")

</div>


