namespace AIStudio.Tools.Security; /// /// One piece of external content to filter, together with where it came from. /// /// /// Several texts may share one source: a web page contributes its content, title, description, /// and authors, and the user cares about the page, not about which of its fields carried the /// injection. Filtering groups its report by source accordingly. /// /// The content to filter. /// Where the content came from, for the report shown to the user. public readonly record struct PromptInjectionText(string Text, PromptInjectionSource Source);