mirror of
https://github.com/wassname/talk.git
synced 2026-07-25 13:30:59 +08:00
feat: added toxic labels (#2396)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user