GuardrailsDefinition
A simplified, API-manageable view of the guardrails configuration.
strategy_registry lists the names of allowed strategies. type_strategy_map maps primitive type names to their valid strategies. parameter_priors maps signal IDs to severity-level prior dicts. bias_rules maps bias words to severity level strings. threshold_directions maps signal IDs to threshold direction strings. global_preferred_strategy is the strategy biased toward when no hint exists. global_default_strategy is the fallback strategy of last resort.
strategy_registrystring[]required
type_strategy_map objectrequired
property name* string[]
Array [
string
]
parameter_priors objectrequired
property name*object
bias_rules objectrequired
property name*string
threshold_directions object
property name*string
global_preferred_strategyGlobal Preferred Strategy (string)
Default value:
percentileglobal_default_strategyGlobal Default Strategy (string)
Default value:
thresholdGuardrailsDefinition
{
"strategy_registry": [
"string"
],
"type_strategy_map": {},
"parameter_priors": {},
"bias_rules": {},
"threshold_directions": {},
"global_preferred_strategy": "percentile",
"global_default_strategy": "threshold"
}