AI 커스텀 프롬프트를 사용자에게 어떻게 적용할 수 있을까요?


중문: 이 사용자 정의 팁은 슈퍼 관리자 및 모더레이터만 볼 수 있습니다. 다른 직원은 이 기능을 어떻게 사용할 수 있을까요?
영어: Only super managers and moderators can view this custom tip. How can other personnel use this feature

I think you have to tell used AI-person in the setting AI helper custom prompt persona and then adjust which groups may use it.


This is everyone,but don’t work.

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

1개의 좋아요

That’s why I deleted my post. I tried myself and I can reproduce the problem you experience. I think it’s a bug. I’m trying to dig deeper right now.

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개의 좋아요

Thanks heaps for triaging, we will have a look

기다리게 해서 죄송합니다. 다음 링크에 따라 이제 수정되었습니다:

2개의 좋아요

이 주제는 2일 후 자동으로 닫혔습니다. 더 이상 새 답글을 작성할 수 없습니다.