הגדרת AI אומרת שהתרגומים מושבתים כשהם מופעלים

This is really minor one, more level beauty glitch. But this is in use, and translations are working.

But it gave me small and short incident of arrhythmia :joy:

לייק 1

מצטער, לא עוקב, מה לא בסדר כאן?

תרגומים היו, והם, מופעלים. לא מושבתים, כפי שהמסך הזה אומר.

מוזר, @nat עובד על המסך הזה, הוא אמור להציג התקדמות.

לייק 1

The feature is deemed enabled if

  • discourse_ai_enabled :check_mark:
  • ai_translation_enabled :check_mark:
  • content_localization_supported_locales has values
  • ai_translation_backfill_max_age_days is more than 0
  • ai_translation_backfill_hourly_rate is more than 0

@Jagster Can you share these values and the state of your graph?

That said, perhaps we can reduce the requirements to show this graph, but the graph would be empty if the first four is not satisfied.

ובכן, אז זה יכול להיות איזשהו גליץ’ במטריקס. אני מבצע שדרוגים די לעתים קרובות, כך שניתן לתקן זאת, גם אם אין סיבה ברורה.

Maybe the text should say something like “Automatic backfill of translations is disabled, click below to configure” if only these two settings prevent the graph from showing.
Then no one has to worry that translations are disabled in general

לייק 1

My content is translated, and on that side isn’t any issue contentwise.

But:

  • supported locales are fi, sv, et, en_US and de. Default is fi, done in web_only.yml
  • backfill-max_age is 365
  • backfill_hourly_rate is 15

הגרף ספציפי לתכונות ה-AI, ונוצר רק כדי להופיע כאשר כל חמש ההגדרות מוגדרות בהתאם.

דבר אחד שאני יכול להסיר מהדרישה הוא ה-backfill_hourly_rate, אבל חוץ מזה אני לא חושב שזה יעבוד.

מצטער, טעות שלי. חשבתי שהנקודות enabled האלה ברורות.

גם ה-AI וגם התרגום מופעלים.

אני מבין. ורק כדי לאשר שוב, כרגע, כאשר כל חמשת התנאים הנ"ל מתקיימים, אתה עדיין רואה אותו מושבת לפי ה-OP?

כן, עדיין.

אני יכול לבצע בנייה מחדש ולנסות אם זה יסדר את הדברים. כי אם אני היחיד, אז הבעיה חייבת להיות אצלי.

I think that would be good. There has been new chart updates today.

An additional thing to check is if each of your personas for translations have a valid LLM configured. (In case you are curious, this whole file does the validation)

2 לייקים

No luck. I changed default locale from fi to en_US by commenting DISCOURSE_DEFAULT_LOCALE: fi and changing it from settings, and that didn’t help either. Safe mode gave same.

I have this in web_only.yml and data.yml:

  LANG: fi_FI.UTF-8
  LANGUAGE: fi_FI.UTF-8

I tried to change those to en_US.UTF-i in both ymls, but that crashed rebuilds.

Anyway — I would say it isn’t matter of locales either :man_shrugging:

Ill start digging personas, but those should be default ones, I havent edited any of those.

After all — this isn’t bigger issue.

בסדר, הייתה לך תחושה טובה.

discourse(prod)> SiteSetting.ai_translation_backfill_hourly_rate
=> 0

כשהחלפתי את זה ל-15 (ובכן, כל דבר מעל אפס יעבוד, כמובן) קיבלתי תרשימים.
השאלה הגדולה היא למה זה היה אפס? למה זה לא עקב אחרי ההגדרה AI summary backfill maximum topics per hour?

Hmm no they are different features altogether and should appear in the respective feature settings.

Have a look at Summarize - Gists.

לייק 1

השאלה הטיפשית הבאה:

מכיוון ש-SiteSetting.ai_translation_backfill_hourly_rate היה אפס, מדוע קיבלתי תרגומים בכל זאת? אני קרוב ל-100% עם תרגומים? ומדוע זו עדיין הגדרה נסתרת?

Don’t worry about the questions, they’re not stupid and in fact they help us figure out gaps with our product. :slight_smile:

The backfill is for communities who would like very old topics to be translated. All new posts and topics are translated when created or edited.

The progress chart is important for old communities like Discourse that have a lot of history that needs translating at a controlled pace.

It’s a hidden setting and default to 0 for now due to a few reasons, one of them being that this feature can be wildly misconfigured – a site may have many old posts, and the site owner may choose up to 10 or more languages. This would incur a large bill. Besides that, if the chosen LLM is the same one for other features like spam detection, getting rate limited would be not ideal.

לייק 1

אני מבין בערך, אבל חשבתי ש-SiteSetting.ai_translation_backfill_max_age_days נועד להגביל את כמות ההיסטוריה, ו-SiteSetting.ai_translation_backfill_hourly_rate רק מאט את הדברים, נכון? אם כן, אז למה קיבלתי backfill, גם כשההגדרה הנסתרת הייתה אפס? זה מה שאני לא מבין עכשיו.

That is right.

Backfill hourly rate affects older posts defined in max age days, they work hand-in-hand. It should not translate posts that are old if the value is zero. All these are run in backfilling jobs (hence the backfill in the setting names).

Are you seeing old posts getting translated even with ai_translation_backfill_hourly_rate set to 0?