March 22, 2024 - 2.0.286
by Noriaki TatsumiAPI Change:
- Eliminated the
regex
field from the RegexConfig schema that was deprecated and replaced byregex_patterns
in v2.0.190 (January 8, 2024 release)
Product Enhancements:
- Upgrades on the toxicity rule
- The toxicity rule has been expanded to check for additional categories including harmful/illegal requests
- The new classifier is trained on more recent and bigger data that has better scores on our benchmarks than our previous classifier
- The regex component of the toxicity rule received more advanced capabilities to flag profanity and attempted obfuscation of it
- New PII Rule configurations
confidence_threshold
has been added to ignore PII entity recognitions with confidence scores below the specified thresholddisabled_pii_entities
is added to disable a certain set of PII entities from getting evaluatedallow_list
is added for bypassing validations of certain texts
- An informative and helpful error message is returned when the provided config field is invalid during the rule creation process
Bug Fix:
- Adjusted the presentation of PII validation details of the prompts in Chat UI so they’re fully legible