// Copyright (c) Microsoft. All rights reserved. using System.Text.Json.Serialization; namespace ContentSafety.Services.PromptShield; /// /// Input for Prompt Shield service. /// More information here: https://learn.microsoft.com/en-us/azure/ai-services/content-safety/quickstart-jailbreak#analyze-attacks /// public class PromptShieldRequest { /// /// Represents a text or message input provided by the user. This could be a question, command, or other form of text input. /// [JsonPropertyName("userPrompt")] public string UserPrompt { get; set; } = string.Empty; /// /// Represents a list or collection of textual documents, articles, or other string-based content. /// [JsonPropertyName("documents")] public List? Documents { get; set; } = []; }