discourse-ai/spec/lib
Natalie Tay d54cd1f602
DEV: Normalize locales that are similar (e.g. en and en_GB) so they do not get translated (#1495)
This commit
- normalizes locales like en_GB and variants to en. With this, the feature will not translate en_GB posts to en (or similarly pt_BR to pt_PT)
- consolidates whether the feature is enabled in `DiscourseAi::Translation.enabled?`
- similarly for backfill in  `DiscourseAi::Translation.backfill_enabled?`
  - turns off backfill if `ai_translation_backfill_max_age_days` is 0 to keep true to what it says. Set it to a high number to backfill everything
2025-07-09 22:21:51 +08:00
..
completions FIX: make AI helper more robust (#1484) 2025-07-04 14:47:11 +10:00
discord/bot REFACTOR: Move personas into its own module. (#1233) 2025-03-31 14:42:33 -03:00
discourse_automation FIX: persona triage should be logged to automation (#1326) 2025-05-08 12:51:36 +10:00
inference FEATURE: configurable embeddings (#1049) 2025-01-21 12:23:19 -03:00
inferred_concepts FIX: Proper default LLM detection for inferred concepts (#1392) 2025-06-02 17:56:47 -03:00
modules FEATURE: Use personas for generating hypothetical posts (#1482) 2025-07-02 10:56:38 -03:00
personas FEATURE: Use personas for generating hypothetical posts (#1482) 2025-07-02 10:56:38 -03:00
translation DEV: Normalize locales that are similar (e.g. en and en_GB) so they do not get translated (#1495) 2025-07-09 22:21:51 +08:00
utils FIX: make AI helper more robust (#1484) 2025-07-04 14:47:11 +10:00
guardian_extensions_spec.rb FIX: Restore gists previous group access behavior. (#1247) 2025-04-07 12:04:30 -03:00