כיצד משתמשים בהנחיות מותאמות אישית של AI

סיכום מבוסס בינה מלאכותית

用户 振强_王 遇到一个问题,只有超管和版主才能查看到自定义提示,其他人员无法使用这个功能。Jagster 建议在设置中告诉AI助手使用自定义提示,并调整哪些组可以使用它。然而,振强_王 尝试后发现没有效果。Moin 确认这是一个bug,并提供了一个临时解决方案,通过编辑隐藏的站点设置来允许自定义提示的使用。sam 表示会查看这个问题。最终,Roman 确认这个问题已经通过一个GitHub pull request修复。

image
Chinese: Only super managers and moderators can view this custom tip. How can other personnel use this feature
English:Only super managers and moderators can view this custom tip. How can other personnel use this feature

אני חושב שאתה צריך לציין את ה-AI שבו משתמשים בהגדרת AI helper custom prompt persona ואז להתאים אילו קבוצות יכולות להשתמש בו.


This is everyone,but don’t work.

English:I attempt,but don’t work.
chinese:ניסיתי, זה לא עובד

לייק 1

בגלל זה מחקתי את הפוסט שלי. ניסיתי בעצמי ואני יכול לשחזר את הבעיה שאתה חווה. אני חושב שזו באג. אני מנסה לחפור עמוק יותר כרגע.

Sorry, something interrupted me. But I have a workaround until there is a proper fix:
You can edit the hidden site setting for who is allowed to use custom prompts in the Rails console (Using Hidden Site Settings).

SiteSetting.ai_helper_custom_prompts_allowed_groups = 10

10 is the ID of the trust level 0 group.

The setting is deprecated, but my impression is that the frontend still uses it to decide whether the custom prompt is shown.

custom_prompt is removed from the helper options if can_use_custom_prompts is false:

And this is based on

which is a setting that will be removed soon

I think the serializer might need an update to work based on the configuration of the custom prompt persona instead of the site setting.

4 לייקים

תודה רבה על הטיפול, נבחן זאת

Sorry for the wait. This is now fixed per:

https://github.com/discourse/discourse/pull/35150

2 לייקים

נושא זה נסגר אוטומטית לאחר יומיים. לא ניתן להוסיף תגובות חדשות.