mirror of
https://github.com/wassname/talk.git
synced 2026-08-04 13:23:35 +08:00
[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user