2023-02-17 09:33:47 -05:00
|
|
|
plugins:
|
2023-02-23 09:08:34 -05:00
|
|
|
discourse_ai_enabled:
|
2023-02-17 09:33:47 -05:00
|
|
|
default: true
|
|
|
|
client: true
|
2023-02-22 18:46:53 -05:00
|
|
|
|
|
|
|
ai_toxicity_enabled:
|
|
|
|
default: false
|
|
|
|
client: true
|
|
|
|
ai_toxicity_inference_service_api_endpoint:
|
|
|
|
default: "https://disorder-testing.demo-by-discourse.com"
|
|
|
|
ai_toxicity_inference_service_api_key:
|
|
|
|
default: ''
|
|
|
|
ai_toxicity_inference_service_api_model:
|
|
|
|
type: enum
|
|
|
|
default: unbiased
|
|
|
|
choices:
|
|
|
|
- unbiased
|
|
|
|
- multilingual
|
|
|
|
- original
|
|
|
|
ai_toxicity_flag_automatically:
|
|
|
|
default: true
|
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_toxicity:
|
|
|
|
default: 70
|
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_severe_toxicity:
|
|
|
|
default: 60
|
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_obscene:
|
|
|
|
default: 60
|
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_identity_attack:
|
|
|
|
default: 60
|
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_insult:
|
|
|
|
default: 60
|
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_threat:
|
|
|
|
default: 60
|
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_sexual_explicit:
|
|
|
|
default: 60
|
|
|
|
client: false
|
|
|
|
ai_toxicity_groups_bypass:
|
|
|
|
client: true
|
|
|
|
type: group_list
|
|
|
|
list_type: compact
|
|
|
|
default: "3" # 3: @staff
|
|
|
|
allow_any: false
|
|
|
|
refresh: true
|
|
|
|
|
|
|
|
ai_sentiment_enabled:
|
|
|
|
default: false
|
|
|
|
client: true
|
|
|
|
ai_sentiment_inference_service_api_endpoint:
|
|
|
|
default: ''
|
|
|
|
ai_sentiment_inference_service_api_key:
|
|
|
|
default: ''
|
|
|
|
ai_sentiment_models:
|
|
|
|
type: list
|
2023-02-23 10:13:26 -05:00
|
|
|
list_type: compact
|
2023-02-22 18:46:53 -05:00
|
|
|
default: "emotion"
|
|
|
|
allow_any: false
|
|
|
|
choices:
|
|
|
|
- sentiment
|
|
|
|
- emotion
|
2023-02-23 09:08:34 -05:00
|
|
|
|
2023-02-24 05:53:43 -05:00
|
|
|
ai_nsfw_detection_enabled: false
|
2023-02-23 09:08:34 -05:00
|
|
|
ai_nsfw_inference_service_api_endpoint:
|
2023-02-23 13:50:10 -05:00
|
|
|
default: ""
|
2023-02-23 09:08:34 -05:00
|
|
|
ai_nsfw_inference_service_api_key:
|
|
|
|
default: ""
|
2023-02-23 10:13:26 -05:00
|
|
|
ai_nsfw_flag_automatically: true
|
|
|
|
ai_nsfw_flag_threshold_general: 60
|
|
|
|
ai_nsfw_flag_threshold_drawings: 60
|
|
|
|
ai_nsfw_flag_threshold_hentai: 60
|
|
|
|
ai_nsfw_flag_threshold_porn: 60
|
|
|
|
ai_nsfw_flag_threshold_sexy: 70
|
|
|
|
ai_nsfw_models:
|
|
|
|
type: list
|
|
|
|
list_type: compact
|
|
|
|
default: "opennsfw2"
|
|
|
|
allow_any: false
|
|
|
|
choices:
|
|
|
|
- opennsfw2
|
|
|
|
- nsfw_detector
|