mirror of
https://github.com/wassname/talk.git
synced 2026-10-04 13:10:23 +08:00
feat: added toxic labels (#2396)
This commit is contained in:
1 parent
b5b9cb7e2f
commit
f95b705585
42 files changed
+727
-526
No files matched your search
@@ -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