sam

Explain the site setting: ai bot public sharing allowed groups

What does it do? Why is it there? What is the default?

claude_3_opus_bot Settings Explorer
Look up site setting context

Reading context for: ai_bot_public_sharing_allowed_groups

The ai_bot_public_sharing_allowed_groups site setting controls which groups are allowed to share their private message conversations with the AI bot publicly via a unique link.

Key points about this setting:

  • It is a group_list type setting, meaning you specify which groups are allowed by entering their group IDs.

  • By default, only the admin group (ID 1) and moderator group (ID 2) are allowed to share AI bot conversations publicly. This is specified in the default value: default: "1|2".

  • When enabled, users in the allowed groups who are having a private message conversation with the AI bot will have the ability to generate a public share link for that conversation.

  • Shared conversations are viewable by anyone with the link, even if they are not a member of the forum.

  • This setting exists to allow selective, controlled sharing of AI bot interactions, while still keeping most conversations private by default. Limiting to staff groups by default ensures only trusted users can share.

  • For the sharing ability to be active, this setting must have at least one group ID specified, and the discourse_ai_enabled and ai_bot_enabled settings must also be true.

So in summary, it’s an access control setting to designate who has permission to share their AI bot conversations publicly, defaulting to only staff members initially. The setting supports Discourse’s vision of secure, controlled sharing of AI functionality.