[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
+11
View File
@@ -16,3 +16,14 @@ export const CLIENT_ID_PARAM = "clientID";
* token in connectionParams when authenticating a websocket connection.
*/
export const ACCESS_TOKEN_PARAM = "accessToken";
/**
* TOXICITY_THRESHOLD_DEFAULT is the default value used when the threshold is
* not set.
*/
export const TOXICITY_THRESHOLD_DEFAULT = 80;
/**
* TOXICITY_MODEL_DEFAULT is the default value used for the toxicity model.
*/
export const TOXICITY_MODEL_DEFAULT = "TOXICITY";