using System.Text.Json.Serialization;
using AIStudio.Tools.Security;
namespace AIStudio.Tools.Rust;
/// The content with the suspicious passages removed. Usable as it stands.
/// The passages that were removed, capped by the runtime.
/// How many passages were removed in total, which may exceed the number of findings.
public readonly record struct SanitizePromptInjectionsResponse(
[property: JsonPropertyName("sanitized_text")] string SanitizedText,
[property: JsonPropertyName("findings")] IReadOnlyList Findings,
[property: JsonPropertyName("redacted_count")] int RedactedCount);