2026-10-04 12:26:26 +02:00
namespace AIStudio.Settings.DataModel ;
/// <summary>
2026-10-18 19:39:55 +02:00
/// Where a chat may still send data, once internal content entered it: mails, a search of the
2026-10-23 09:27:22 +02:00
/// wiki, an internal web page, or passages of a data source.
2026-10-04 12:26:26 +02:00
/// </summary>
/// <remarks>
/// The members run from the strictest to the most permissive, so the stricter of two levels is the
2026-10-18 19:39:55 +02:00
/// smaller one. Services which are configured in AI Studio, such as Confluence, the allowed private
2026-10-23 09:27:22 +02:00
/// hosts, the data sources, or the mailbox itself, stay allowed on every level.
2026-10-04 12:26:26 +02:00
/// </remarks>
public enum OutboundDataRestriction
{
// The strictest level is deliberately the member with the underlying value 0: when the settings
// file holds a value TolerantEnumConverter cannot read, it falls back to that member. Falling back
2026-10-23 09:27:22 +02:00
// to a more permissive level would open a way out for internal content the user meant to keep in.
// A number which names no member is read as it is, so the comparisons count it as the strictest
// level, see OutboundDataRestrictionExtensions.OrStrictestWhenUnknown.
2026-10-04 12:26:26 +02:00
/// <summary>
/// Only the services configured in AI Studio.
/// </summary>
ONLY_CONFIGURED_SERVICES = 0 ,
/// <summary>
/// The configured services, and the addresses written in the chat, either by the user or in the result of a tool. No searches with third-party services.
/// </summary>
ONLY_LINKS_FROM_CHAT ,
/// <summary>
/// No restriction beyond the ones of each tool.
/// </summary>
UNRESTRICTED ,
}