namespace AIStudio.Tools.Security;
///
/// Asks the UI to tell the user what was filtered out of the content they just used.
///
///
/// Carries every result of one user action rather than a single one. Attaching twenty
/// documents at once must produce one dialog listing all of them, not twenty dialogs.
///
/// What was filtered, per piece of content.
public sealed record PromptInjectionAlertMessage(IReadOnlyList Results)
{
///
/// Gets the total number of filtered passages across all content.
///
public int TotalRedactedCount => this.Results.Sum(result => result.RedactedCount);
}