mirror of
https://github.com/wassname/talk.git
synced 2026-09-10 12:43:11 +08:00
[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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user