Here, the reject
field contains exact phrases which will result in a guardrail violation. The remove
field contains phrases that will be removed from the output, while the replace
field contains phrases that will be replaced with other phrases. The regexReject
, regexRemove
, and regexReplace
fields contain regular expressions that will be used to match and filter content in a similar manner.