Class ShieldPromptRequest
- Namespace
- FoundationaLLM.Common.Models.ContentSafety
- Assembly
- FoundationaLLM.Common.dll
Represents a request to shield a prompt with Azure AI Content Safety.
public class ShieldPromptRequest
- Inheritance
-
ShieldPromptRequest
- Inherited Members
- Extension Methods
Properties
Documents
Gets or sets a list or collection of textual documents, articles, or other string-based content. Each element in the array is expected to be a string.
[JsonPropertyName("documents")]
public List<string> Documents { get; set; }
Property Value
UserPrompt
Gets or sets a text or message input provided by the user. This could be a question, command, or other form of text input.
[JsonPropertyName("userPrompt")]
public required string UserPrompt { get; set; }