Policy Method Parameters
These correspond to the methodParams
field in policies
Privacy (PII)
-
entity_types
- List of entity types to target as PII.Category Entity Type Bank Account IBAN_CODE Crypto-account Number CRYPTO Date and Time DATE, TIME Email Address EMAIL_ADDRESS Event EVENT IP Address IP_ADDRESS Language LANGUAGE Location LOC, GPE, FAC Money MONEY Nationalities or Religious or Political Groups NORP Number CARDINAL, ORDINAL, QUANTITY, PERCENT Organization ORG Passport US_PASSPORT, IT_PASSPORT, PASSPORT Person PERSON Phone Number PHONE_NUMBER Product PRODUCT SSN Number US_SSN -
regex_types
- Object mapping the category to a regular expression- e.g.
{ "Email": "^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$" }
- e.g.
-
deny_list
- Object mapping the category to a list of words to block- e.g.
{ "CEOs": ["Elon Musk", "Sam Altman"] }
- e.g.
Toxicity
N/A
Hallucination
N/A
RAG Hallucination
N/A
Content (Alignment)
This should be done via our Guardrail Development Platform
adapter_path
- Path to a model created using our Guardrail Development Platform