2023-02-17 11:33:47 -03:00
|
|
|
plugins:
|
2023-02-23 11:08:34 -03:00
|
|
|
discourse_ai_enabled:
|
2023-02-17 11:33:47 -03:00
|
|
|
default: true
|
|
|
|
client: true
|
2023-02-22 20:46:53 -03: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: ''
|
2023-05-12 12:54:25 +10:00
|
|
|
secret: true
|
2023-02-22 20:46:53 -03:00
|
|
|
ai_toxicity_inference_service_api_model:
|
|
|
|
type: enum
|
|
|
|
default: unbiased
|
|
|
|
choices:
|
|
|
|
- unbiased
|
|
|
|
- multilingual
|
|
|
|
- original
|
|
|
|
ai_toxicity_flag_automatically:
|
2023-05-03 16:44:33 -03:00
|
|
|
default: false
|
2023-02-22 20:46:53 -03:00
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_toxicity:
|
2023-03-31 13:03:44 -03:00
|
|
|
default: 80
|
2023-02-22 20:46:53 -03:00
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_severe_toxicity:
|
2023-03-31 13:03:44 -03:00
|
|
|
default: 30
|
2023-02-22 20:46:53 -03:00
|
|
|
client: false
|
|
|
|
ai_toxicity_flag_threshold_obscene:
|
2023-03-31 13:03:44 -03:00
|
|
|
default: 80
|
2023-02-22 20:46:53 -03: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 16:44:11 -03:00
|
|
|
default: "https://sentiment-testing.demo-by-discourse.com"
|
2023-02-22 20:46:53 -03:00
|
|
|
ai_sentiment_inference_service_api_key:
|
|
|
|
default: ''
|
2023-05-12 12:54:25 +10:00
|
|
|
secret: true
|
2023-02-22 20:46:53 -03:00
|
|
|
ai_sentiment_models:
|
|
|
|
type: list
|
2023-02-23 12:13:26 -03:00
|
|
|
list_type: compact
|
2023-02-22 20:46:53 -03:00
|
|
|
default: "emotion"
|
|
|
|
allow_any: false
|
|
|
|
choices:
|
|
|
|
- sentiment
|
|
|
|
- emotion
|
2023-05-12 12:54:25 +10:00
|
|
|
|
2023-02-24 07:53:43 -03:00
|
|
|
ai_nsfw_detection_enabled: false
|
2023-02-23 11:08:34 -03:00
|
|
|
ai_nsfw_inference_service_api_endpoint:
|
2023-02-27 16:44:11 -03:00
|
|
|
default: "https://nsfw-testing.demo-by-discourse.com"
|
2023-02-23 11:08:34 -03:00
|
|
|
ai_nsfw_inference_service_api_key:
|
|
|
|
default: ""
|
2023-05-12 12:54:25 +10:00
|
|
|
secret: true
|
2023-02-23 12:13:26 -03: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 16:14:39 -03:00
|
|
|
|
2023-06-21 10:39:51 +10:00
|
|
|
ai_openai_gpt35_url: "https://api.openai.com/v1/chat/completions"
|
2023-08-17 11:00:11 +10:00
|
|
|
ai_openai_gpt35_16k_url: "https://api.openai.com/v1/chat/completions"
|
2023-06-21 10:39:51 +10:00
|
|
|
ai_openai_gpt4_url: "https://api.openai.com/v1/chat/completions"
|
2023-08-17 11:00:11 +10:00
|
|
|
ai_openai_gpt4_32k_url: "https://api.openai.com/v1/chat/completions"
|
2023-06-21 10:39:51 +10:00
|
|
|
ai_openai_embeddings_url: "https://api.openai.com/v1/embeddings"
|
2023-03-07 16:14:39 -03:00
|
|
|
ai_openai_api_key:
|
|
|
|
default: ""
|
2023-05-12 12:54:25 +10:00
|
|
|
secret: true
|
2023-04-10 11:04:42 -03:00
|
|
|
ai_anthropic_api_key:
|
|
|
|
default: ""
|
2023-05-12 12:54:25 +10:00
|
|
|
secret: true
|
2023-05-19 20:38:08 -03:00
|
|
|
ai_stability_api_key:
|
|
|
|
default: ""
|
|
|
|
secret: true
|
|
|
|
ai_stability_api_url:
|
|
|
|
default: "https://api.stability.ai"
|
|
|
|
ai_stability_engine:
|
2023-08-03 05:53:28 +10:00
|
|
|
default: "stable-diffusion-xl-1024-v1-0"
|
2023-05-20 17:45:54 +10:00
|
|
|
type: enum
|
|
|
|
choices:
|
2023-08-03 05:53:28 +10:00
|
|
|
- "stable-diffusion-xl-1024-v1-0"
|
|
|
|
- "stable-diffusion-768-v2-1"
|
2023-05-20 17:45:54 +10:00
|
|
|
- "stable-diffusion-v1-5"
|
2023-07-27 13:55:32 -03:00
|
|
|
ai_hugging_face_api_url:
|
|
|
|
default: ""
|
2023-08-02 17:00:00 -03:00
|
|
|
ai_hugging_face_api_key:
|
|
|
|
default: ""
|
|
|
|
secret: true
|
2023-08-03 15:29:30 -03:00
|
|
|
ai_hugging_face_token_limit:
|
|
|
|
default: 4096
|
|
|
|
ai_hugging_face_model_display_name:
|
|
|
|
default: ""
|
2023-05-20 17:45:54 +10:00
|
|
|
|
|
|
|
ai_google_custom_search_api_key:
|
|
|
|
default: ""
|
|
|
|
secret: true
|
|
|
|
ai_google_custom_search_cx:
|
|
|
|
default: ""
|
2023-03-15 17:02:20 -03: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 23:22:34 -03:00
|
|
|
ai_helper_model:
|
|
|
|
default: gpt-3.5-turbo
|
|
|
|
type: enum
|
|
|
|
choices:
|
|
|
|
- gpt-3.5-turbo
|
|
|
|
- gpt-4
|
2023-07-13 12:32:08 -03:00
|
|
|
- claude-2
|
2023-03-15 17:21:45 -03:00
|
|
|
|
2023-05-12 12:54:25 +10:00
|
|
|
ai_embeddings_enabled:
|
2023-03-31 15:29:56 -03:00
|
|
|
default: false
|
|
|
|
client: true
|
2023-03-15 17:21:45 -03:00
|
|
|
ai_embeddings_discourse_service_api_endpoint: ""
|
2023-05-12 12:54:25 +10:00
|
|
|
ai_embeddings_discourse_service_api_key:
|
|
|
|
default: ""
|
|
|
|
secret: true
|
2023-07-13 12:41:36 -03:00
|
|
|
ai_embeddings_model:
|
|
|
|
type: enum
|
2023-03-15 17:21:45 -03:00
|
|
|
list_type: compact
|
2023-07-13 12:41:36 -03:00
|
|
|
default: "all-mpnet-base-v2"
|
2023-03-15 17:21:45 -03:00
|
|
|
allow_any: false
|
|
|
|
choices:
|
|
|
|
- all-mpnet-base-v2
|
|
|
|
- text-embedding-ada-002
|
2023-07-27 15:50:03 -03:00
|
|
|
- multilingual-e5-large
|
2023-03-15 17:21:45 -03:00
|
|
|
ai_embeddings_generate_for_pms: false
|
2023-03-31 11:04:34 +11:00
|
|
|
ai_embeddings_semantic_related_topics_enabled: false
|
|
|
|
ai_embeddings_semantic_related_topics: 5
|
2023-05-09 15:30:50 -03:00
|
|
|
ai_embeddings_semantic_related_include_closed_topics: true
|
2023-03-15 17:21:45 -03:00
|
|
|
ai_embeddings_pg_connection_string: ""
|
2023-04-03 11:48:38 -03:00
|
|
|
ai_embeddings_semantic_search_enabled:
|
|
|
|
default: false
|
|
|
|
client: true
|
2023-04-04 11:24:09 -03:00
|
|
|
|
|
|
|
ai_summarization_discourse_service_api_endpoint: ""
|
2023-05-12 12:54:25 +10:00
|
|
|
ai_summarization_discourse_service_api_key:
|
|
|
|
default: ""
|
|
|
|
secret: true
|
2023-05-05 15:28:31 -03:00
|
|
|
|
|
|
|
ai_bot_enabled:
|
|
|
|
default: false
|
|
|
|
client: true
|
2023-08-17 06:29:58 +10:00
|
|
|
ai_bot_enable_chat_warning:
|
|
|
|
default: false
|
|
|
|
client: true
|
2023-05-05 15:28:31 -03:00
|
|
|
ai_bot_allowed_groups:
|
|
|
|
client: true
|
|
|
|
type: group_list
|
|
|
|
list_type: compact
|
2023-05-11 10:03:03 -03:00
|
|
|
default: "3|14" # 3: @staff, 14: @trust_level_4
|
2023-05-17 15:59:48 -03:00
|
|
|
# Adding a new bot? Make sure to create a user for it on the seed file and update translations.
|
2023-05-11 10:03:03 -03:00
|
|
|
ai_bot_enabled_chat_bots:
|
|
|
|
type: list
|
|
|
|
default: "gpt-3.5-turbo"
|
|
|
|
client: true
|
|
|
|
choices:
|
|
|
|
- gpt-3.5-turbo
|
|
|
|
- gpt-4
|
2023-07-27 11:24:44 +10:00
|
|
|
- claude-2
|
2023-06-21 17:10:30 +10:00
|
|
|
ai_bot_enabled_chat_commands:
|
|
|
|
type: list
|
|
|
|
default: "categories|google|image|search|tags|time"
|
|
|
|
client: true
|
|
|
|
choices:
|
|
|
|
- categories
|
|
|
|
- google
|
|
|
|
- image
|
|
|
|
- search
|
|
|
|
- summarize
|
2023-08-09 07:19:56 +10:00
|
|
|
- read
|
2023-06-21 17:10:30 +10:00
|
|
|
- tags
|
|
|
|
- time
|
2023-05-16 14:38:21 -03:00
|
|
|
ai_helper_add_ai_pm_to_header:
|
|
|
|
default: true
|
|
|
|
client: true
|