mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-07-17 11:46:28 +08:00
Previously I had omitted to add `locale` to the category, as categories tended to be just a single word, and I did not find it would be worth to carry locale information. Due to certain LLMs that do poorer at translation, category descriptions got pretty messy. We added locale support here - https://github.com/discourse/discourse/pull/32962. This PR adds the automatic locale detection, and skips translating to the category's locale. |
||
|---|---|---|
| .. | ||
| categories_locale_detection_backfill.rb | ||
| category_localization_backfill.rb | ||
| embeddings_backfill.rb | ||
| generate_concepts_from_popular_items.rb | ||
| post_localization_backfill.rb | ||
| posts_locale_detection_backfill.rb | ||
| remove_orphaned_embeddings.rb | ||
| sentiment_backfill.rb | ||
| summaries_backfill.rb | ||
| topic_localization_backfill.rb | ||
| topics_locale_detection_backfill.rb | ||