Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit fcce5ed

Browse files
committed
post review follow up
1 parent 9a8207d commit fcce5ed

File tree

5 files changed

+23
-0
lines changed

5 files changed

+23
-0
lines changed

config/locales/server.en.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,9 @@ en:
558558
discord_search:
559559
name: "Discord Search"
560560
description: "Adds the ability to search Discord channels"
561+
inferred_concepts:
562+
name: "Inferred Concepts"
563+
description: "Classifies topics and posts into areas of interest / labels."
561564

562565
errors:
563566
quota_exceeded: "You have exceeded the quota for this model. Please try again in %{relative_time}."

config/settings.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,39 +421,51 @@ discourse_ai:
421421
inferred_concepts_enabled:
422422
default: false
423423
client: true
424+
area: "ai-features/concepts"
424425
inferred_concepts_background_match:
425426
default: false
426427
client: false
428+
area: "ai-features/concepts"
427429
inferred_concepts_daily_topics_limit:
428430
default: 20
429431
client: false
432+
area: "ai-features/concepts"
430433
inferred_concepts_min_posts:
431434
default: 5
432435
client: false
436+
area: "ai-features/concepts"
433437
inferred_concepts_min_likes:
434438
default: 10
435439
client: false
440+
area: "ai-features/concepts"
436441
inferred_concepts_min_views:
437442
default: 100
438443
client: false
444+
area: "ai-features/concepts"
439445
inferred_concepts_lookback_days:
440446
default: 30
441447
client: false
448+
area: "ai-features/concepts"
442449
inferred_concepts_daily_posts_limit:
443450
default: 30
444451
client: false
452+
area: "ai-features/concepts"
445453
inferred_concepts_post_min_likes:
446454
default: 5
447455
client: false
456+
area: "ai-features/concepts"
448457
inferred_concepts_generate_persona:
449458
default: "-15"
450459
type: enum
451460
enum: "DiscourseAi::Configuration::PersonaEnumerator"
461+
area: "ai-features/concepts"
452462
inferred_concepts_match_persona:
453463
default: "-16"
454464
type: enum
455465
enum: "DiscourseAi::Configuration::PersonaEnumerator"
466+
area: "ai-features/concepts"
456467
inferred_concepts_deduplicate_persona:
457468
default: "-17"
458469
type: enum
459470
enum: "DiscourseAi::Configuration::PersonaEnumerator"
471+
area: "ai-features/concepts"

lib/features.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ def self.feature_config
3636
persona_setting_name: "ai_discord_search_persona",
3737
enable_setting_name: "ai_discord_search_enabled",
3838
},
39+
{
40+
id: 5,
41+
name_ref: "inferred_concepts",
42+
name_key: "discourse_ai.features.inferred_concepts.name",
43+
description_key: "discourse_ai.features.inferred_concepts.description",
44+
persona_setting_name: "inferred_concepts_generate_persona",
45+
enable_setting_name: "inferred_concepts_enabled",
46+
},
3947
]
4048
end
4149

0 commit comments

Comments
 (0)