feat: added toxic labels (#2396)

This commit is contained in:
Wyatt Johnson
2019-07-12 20:41:34 +00:00
committed by GitHub
parent b5b9cb7e2f
commit f95b705585
42 changed files with 727 additions and 526 deletions
+7
View File
@@ -27,3 +27,10 @@ export const TOXICITY_THRESHOLD_DEFAULT = 80;
* TOXICITY_MODEL_DEFAULT is the default value used for the toxicity model.
*/
export const TOXICITY_MODEL_DEFAULT = "TOXICITY";
/**
* TOXICITY_ENDPOINT_DEFAULT is the default value used for the toxicity endpoint
* for the API.
*/
export const TOXICITY_ENDPOINT_DEFAULT =
"https://commentanalyzer.googleapis.com/v1alpha1";