You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
Modify the validators' base code to read data from metadata instead of initialization kwargs.
Why is this needed
To dynamically add metadata in validate on the client side without redeploying docker image again.
Ex: we need to redeploy docker image If we want to change the categories for pii_entities from ["PERSON","LOCATION"] to ["PERSON","PHONE_NUMBER","LOCATION"]
End result
User can dynamically change categories for multiple guardrails from client-side using guard.validate()