Class PromptInjectionProtectionResult
The result of prompt injection protection.
Inherited Members
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class PromptInjectionProtectionResult
Properties
FlaggedModalities
Declaration
[JsonProperty(PropertyName = "flaggedModalities", ItemConverterType = typeof(ResponseEnumConverter))]
public List<PromptInjectionProtectionResult.FlaggedModalitiesEnum> FlaggedModalities { get; set; }
Property Value
| Type | Description |
|---|---|
| List<PromptInjectionProtectionResult.FlaggedModalitiesEnum> | The input modalities flagged by the prompt injection result. Present only when the request
is processed using a non-empty |
Score
Declaration
[Required(ErrorMessage = "Score is required.")]
[JsonProperty(PropertyName = "score")]
public double Score { get; set; }
Property Value
| Type | Description |
|---|---|
| double | The score indicating the likelihood of a prompt injection attack. |
Remarks
Required