Files
wehub-resource-sync b957a53def
CodeQL / Analyze (csharp) (push) Waiting to run
CodeQL / Analyze (python) (push) Waiting to run
chore: import upstream snapshot with attribution
2026-07-13 13:21:23 +08:00

25 lines
847 B
C#

// Copyright (c) Microsoft. All rights reserved.
using System.Text.Json.Serialization;
namespace ContentSafety.Services.PromptShield;
/// <summary>
/// Flags potential vulnerabilities within user prompt and documents.
/// More information here: https://learn.microsoft.com/en-us/azure/ai-services/content-safety/quickstart-jailbreak#interpret-the-api-response
/// </summary>
public class PromptShieldResponse
{
/// <summary>
/// Contains analysis results for the user prompt.
/// </summary>
[JsonPropertyName("userPromptAnalysis")]
public PromptShieldAnalysis? UserPromptAnalysis { get; set; }
/// <summary>
/// Contains a list of analysis results for each document provided.
/// </summary>
[JsonPropertyName("documentsAnalysis")]
public List<PromptShieldAnalysis>? DocumentsAnalysis { get; set; }
}