ℹ️ These docs are for current Galileo customers. Docs for the free version of Galileo, can be found here.
Galileo will provide a set of action types (override, passthrough), that the user can use, along with a configuration for each action type.
gp.OverrideAction( choices=["Sorry, I cannot answer that question."] )
gp.Ruleset( rules=[ gp.Rule( metric=gp.RuleMetrics.pii, operator=gp.RuleOperator.contains, target_value="ssn" ), gp.Rule( metric=gp.RuleMetrics.toxicity, operator=gp.RuleOperator.gt, target_value=0.8 ) ], action=gp.OverrideAction( choices=["Sorry, I cannot answer that question."] ) )
Was this page helpful?