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:
|
2023-05-03 15:44:33 -04:00
|
|
|
default: false
|
2023-02-22 18:46:53 -05:00
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_toxicity:
|
2023-03-31 12:03:44 -04:00
|
|
|
default: 80
|
2023-02-22 18:46:53 -05:00
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_severe_toxicity:
|
2023-03-31 12:03:44 -04:00
|
|
|
default: 30
|
2023-02-22 18:46:53 -05:00
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_obscene:
|
2023-03-31 12:03:44 -04:00
|
|
|
default: 80
|
2023-02-22 18:46:53 -05:00
|
|
|
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:
|
2023-02-27 14:44:11 -05:00
|
|
|
default: "https://sentiment-testing.demo-by-discourse.com"
|
2023-02-22 18:46:53 -05:00
|
|
|
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-27 14:44:11 -05:00
|
|
|
default: "https://nsfw-testing.demo-by-discourse.com"
|
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
|
2023-03-07 14:14:39 -05:00
|
|
|
|
|
|
|
ai_openai_api_key:
|
|
|
|
default: ""
|
2023-04-10 10:04:42 -04:00
|
|
|
ai_anthropic_api_key:
|
|
|
|
default: ""
|
2023-03-15 16:02:20 -04:00
|
|
|
|
|
|
|
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
|
2023-03-28 22:22:34 -04:00
|
|
|
ai_helper_model:
|
|
|
|
default: gpt-3.5-turbo
|
|
|
|
type: enum
|
|
|
|
choices:
|
|
|
|
- gpt-3.5-turbo
|
|
|
|
- gpt-4
|
2023-04-10 10:04:42 -04:00
|
|
|
- claude-v1
|
2023-03-15 16:21:45 -04:00
|
|
|
|
2023-03-31 14:29:56 -04:00
|
|
|
ai_embeddings_enabled:
|
|
|
|
default: false
|
|
|
|
client: true
|
2023-03-15 16:21:45 -04:00
|
|
|
ai_embeddings_discourse_service_api_endpoint: ""
|
|
|
|
ai_embeddings_discourse_service_api_key: ""
|
|
|
|
ai_embeddings_models:
|
|
|
|
type: list
|
|
|
|
list_type: compact
|
|
|
|
default: ""
|
|
|
|
allow_any: false
|
|
|
|
choices:
|
|
|
|
- all-mpnet-base-v2
|
|
|
|
- all-distilroberta-v1
|
|
|
|
- multi-qa-mpnet-base-dot-v1
|
|
|
|
- paraphrase-multilingual-mpnet-base-v2
|
|
|
|
- msmarco-distilbert-base-v4
|
|
|
|
- msmarco-distilbert-base-tas-b
|
|
|
|
- text-embedding-ada-002
|
2023-03-30 20:04:34 -04:00
|
|
|
ai_embeddings_semantic_related_model:
|
2023-03-15 16:21:45 -04:00
|
|
|
type: enum
|
|
|
|
default: all-mpnet-base-v2
|
|
|
|
choices:
|
|
|
|
- all-mpnet-base-v2
|
|
|
|
- text-embedding-ada-002
|
|
|
|
- all-distilroberta-v1
|
|
|
|
- multi-qa-mpnet-base-dot-v1
|
|
|
|
- paraphrase-multilingual-mpnet-base-v2
|
2023-03-31 14:29:56 -04:00
|
|
|
ai_embeddings_semantic_search_model:
|
|
|
|
type: enum
|
|
|
|
default: msmarco-distilbert-base-v4
|
|
|
|
choices:
|
|
|
|
- msmarco-distilbert-base-v4
|
|
|
|
- msmarco-distilbert-base-tas-b
|
|
|
|
- text-embedding-ada-002
|
2023-03-15 16:21:45 -04:00
|
|
|
ai_embeddings_generate_for_pms: false
|
2023-03-30 20:04:34 -04:00
|
|
|
ai_embeddings_semantic_related_topics_enabled: false
|
|
|
|
ai_embeddings_semantic_related_topics: 5
|
2023-03-15 16:21:45 -04:00
|
|
|
ai_embeddings_pg_connection_string: ""
|
2023-04-03 10:48:38 -04:00
|
|
|
ai_embeddings_semantic_search_enabled:
|
|
|
|
default: false
|
|
|
|
client: true
|
2023-04-04 10:24:09 -04:00
|
|
|
|
|
|
|
ai_summarization_enabled:
|
2023-04-06 08:07:31 -04:00
|
|
|
default: false
|
2023-04-04 10:24:09 -04:00
|
|
|
client: true
|
|
|
|
ai_summarization_discourse_service_api_endpoint: ""
|
|
|
|
ai_summarization_discourse_service_api_key: ""
|
|
|
|
ai_summarization_model:
|
|
|
|
type: enum
|
|
|
|
default: "bart-large-cnn-samsum"
|
|
|
|
allow_any: false
|
|
|
|
choices:
|
|
|
|
- bart-large-cnn-samsum
|
|
|
|
- flan-t5-base-samsum
|
|
|
|
- long-t5-tglobal-base-16384-book-summary
|
|
|
|
- gpt-3.5-turbo
|
|
|
|
- gpt-4
|
2023-04-10 10:04:42 -04:00
|
|
|
- claude-v1
|
2023-04-04 10:24:09 -04:00
|
|
|
ai_summarization_rate_limit_minutes: 10
|
2023-05-05 14:28:31 -04:00
|
|
|
|
|
|
|
ai_bot_enabled:
|
|
|
|
default: false
|
|
|
|
client: true
|
|
|
|
ai_bot_allowed_groups:
|
|
|
|
client: true
|
|
|
|
type: group_list
|
|
|
|
list_type: compact
|
|
|
|
default: "3|14" # 3: @staff, 14: @trust_level_4
|