feat: added toxic labels (#2396)

This commit is contained in:
Wyatt Johnson authored and GitHub committed 2019-07-12 20:41:34 +00:00
1 parent b5b9cb7e2f
commit f95b705585
42 files changed
+727 -526

No files matched your search

+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";