mirror of
https://github.com/discourse/discourse-ai.git
synced 2025-03-06 09:20:14 +00:00
* FEATURE: Composer AI helper This change introduces a new composer button for the group members listed in the `ai_helper_allowed_groups` site setting. Users can use chatGPT to review, improve, or translate their posts to English. * Add a safeguard for PMs and don't rely on parentView
104 lines
2.4 KiB
YAML
104 lines
2.4 KiB
YAML
plugins:
|
|
discourse_ai_enabled:
|
|
default: true
|
|
client: true
|
|
|
|
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: "https://sentiment-testing.demo-by-discourse.com"
|
|
ai_sentiment_inference_service_api_key:
|
|
default: ''
|
|
ai_sentiment_models:
|
|
type: list
|
|
list_type: compact
|
|
default: "emotion"
|
|
allow_any: false
|
|
choices:
|
|
- sentiment
|
|
- emotion
|
|
|
|
ai_nsfw_detection_enabled: false
|
|
ai_nsfw_inference_service_api_endpoint:
|
|
default: "https://nsfw-testing.demo-by-discourse.com"
|
|
ai_nsfw_inference_service_api_key:
|
|
default: ""
|
|
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
|
|
|
|
ai_openai_api_key:
|
|
default: ""
|
|
|
|
composer_ai_helper_enabled:
|
|
default: false
|
|
client: true
|
|
ai_helper_allowed_groups:
|
|
client: true
|
|
type: group_list
|
|
list_type: compact
|
|
default: "3|14" # 3: @staff, 14: @trust_level_4
|
|
allow_any: false
|
|
refresh: true
|
|
ai_helper_allowed_in_pm:
|
|
default: false
|
|
client: true
|