[
{
"name": "No prompt injection",
"description": "Asserts that the input data has no prompt injection attempts",
"type": "integrity",
"subtype": "hasPromptInjectionCount",
"thresholds": [
{
"insightName": "hasPromptInjectionCount",
"measurement": "hasPromptInjectionPercentage",
"operator": "<=",
"value": 0.0
}
],
"subpopulationFilters": null,
"mode": "development",
"usesValidationDataset": true, // Apply test to the validation set
"usesTrainingDataset": false,
"usesMlModel": false,
"syncId": "b4dee7dc-4f15-48ca-a282-63e2c04e0689" // Some unique id
}
]