FEATURE: hide various api keys in site settings (#59)
Also... ensures that plugin has a link to more info and proper description
This commit is contained in:
parent
97124b30de
commit
93d9d9ea91
|
@ -10,6 +10,7 @@ plugins:
|
|||
default: "https://disorder-testing.demo-by-discourse.com"
|
||||
ai_toxicity_inference_service_api_key:
|
||||
default: ''
|
||||
secret: true
|
||||
ai_toxicity_inference_service_api_model:
|
||||
type: enum
|
||||
default: unbiased
|
||||
|
@ -56,6 +57,7 @@ plugins:
|
|||
default: "https://sentiment-testing.demo-by-discourse.com"
|
||||
ai_sentiment_inference_service_api_key:
|
||||
default: ''
|
||||
secret: true
|
||||
ai_sentiment_models:
|
||||
type: list
|
||||
list_type: compact
|
||||
|
@ -70,6 +72,7 @@ plugins:
|
|||
default: "https://nsfw-testing.demo-by-discourse.com"
|
||||
ai_nsfw_inference_service_api_key:
|
||||
default: ""
|
||||
secret: true
|
||||
ai_nsfw_flag_automatically: true
|
||||
ai_nsfw_flag_threshold_general: 60
|
||||
ai_nsfw_flag_threshold_drawings: 60
|
||||
|
@ -87,8 +90,10 @@ plugins:
|
|||
|
||||
ai_openai_api_key:
|
||||
default: ""
|
||||
secret: true
|
||||
ai_anthropic_api_key:
|
||||
default: ""
|
||||
secret: true
|
||||
|
||||
composer_ai_helper_enabled:
|
||||
default: false
|
||||
|
@ -115,7 +120,9 @@ plugins:
|
|||
default: false
|
||||
client: true
|
||||
ai_embeddings_discourse_service_api_endpoint: ""
|
||||
ai_embeddings_discourse_service_api_key: ""
|
||||
ai_embeddings_discourse_service_api_key:
|
||||
default: ""
|
||||
secret: true
|
||||
ai_embeddings_models:
|
||||
type: list
|
||||
list_type: compact
|
||||
|
@ -158,7 +165,9 @@ plugins:
|
|||
default: false
|
||||
client: true
|
||||
ai_summarization_discourse_service_api_endpoint: ""
|
||||
ai_summarization_discourse_service_api_key: ""
|
||||
ai_summarization_discourse_service_api_key:
|
||||
default: ""
|
||||
secret: true
|
||||
ai_summarization_model:
|
||||
type: enum
|
||||
default: "bart-large-cnn-samsum"
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# name: discourse-ai
|
||||
# about: TODO
|
||||
# about: Enables AI modules features in Discourse
|
||||
# version: 0.0.1
|
||||
# authors: Discourse
|
||||
# url: TODO
|
||||
# url: https://meta.discourse.org/t/discourse-ai/259214
|
||||
# required_version: 2.7.0
|
||||
|
||||
gem "tokenizers", "0.3.2", platform: RUBY_PLATFORM
|
||||
|
|
Loading…
Reference in New Issue