[CORl-278] Perspective Model (#2337)

* feat: support switching the perspective model

* feat: support changing the model on admin

* fix: linting

* fix: removed defaulted value
This commit is contained in:
Wyatt Johnson
2019-06-28 22:10:32 +00:00
committed by GitHub
parent e72b15c505
commit 76033118e5
12 changed files with 154 additions and 19 deletions
@@ -763,6 +763,11 @@ type PerspectiveExternalIntegration {
"""
threshold: Float
"""
model is the Perspective model to use.
"""
model: String
"""
When True, comments sent will not be stored by the Google Perspective API.
"""
@@ -2693,6 +2698,11 @@ input SettingsPerspectiveExternalIntegrationInput {
"""
key: String
"""
model is the name of the Perspective model to use.
"""
model: String
"""
The threshold that given a specific toxic comment score, the comment will
be marked by Coral as toxic.