Hoe kunnen gebruikers Ai aangepaste prompts gebruiken


中文:只有超管和版主才能查看到这个自定义贴士,其他人员如何可以使用这个功能呢
english:Only super managers and moderators can view this custom tip. How can other personnel use this feature

Ik denk dat je de gebruikte AI-persoon moet aangeven in de instelling AI helper custom prompt persona en vervolgens aanpassen welke groepen deze mogen gebruiken.


This is everyone,but don’t work.

English:I attempt,but don’t work.
chinese:我尝试了,不行

1 like

Daarom heb ik mijn bericht verwijderd. Ik heb het zelf geprobeerd en ik kan het probleem dat je ervaart reproduceren. Ik denk dat het een bug is. Ik probeer het nu dieper uit te zoeken.

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 likes

Bedankt voor het triageren, we gaan ernaar kijken

Sorry for the wait. This is now fixed per:

2 likes

Dit onderwerp werd automatisch gesloten na 2 dagen. Nieuwe reacties zijn niet meer toegestaan.