GuidesChangelog
Log In
Changelog

March 22, 2024 - 2.0.286

by Noriaki Tatsumi

API Change:

  • Eliminated the regex field from the RegexConfig schema that was deprecated and replaced by regex_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 threshold
    • disabled_pii_entities is added to disable a certain set of PII entities from getting evaluated
    • allow_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

March 8, 2024 - v2.0.269

by Noriaki Tatsumi

Bug Fix: The default rules were previously enforced on up to 10 tasks. The default rules now work on all active tasks.

March 6, 2024 - v2.0.262

by Noriaki Tatsumi

Product Enhancements:

  • Introducing the Shield Admin UI including 1) a log of inferences and 2) the ability to create and manage rules by task

Bug Fixes:

  • Improved handling of authenticated session expirations in the UI
  • Improved scrolling through prompts and responses in the Chat UI

January 17, 2024 - v2.0.207

by Noriaki Tatsumi
  • Optimized inferences query endpoint; reducing latency by 90%
  • Added page size limit of 250 items to all paginated endpoints
  • Fixed toxicity configuration not returned when retrieving rules

January 8, 2023 - v2.0.190

by Noriaki Tatsumi
  • The RegexRule now supports multiple regex patterns per rule. When creating a new RegexRule, please use the new regex_patterns field instead of the now deprecated regex field in the JSON request.
  • The inference query endpoint now supports the capability to filter by task IDs, providing more flexibility in retrieving specific data
  • Added the ability to search tasks and rules. While the "Get All" endpoints for tasks and rules are still available, they are now deprecated in favor of the new search endpoints. This enhancement allows for more efficient retrieval of tasks and rules.
  • Introduced the functionality to slice and dice token usage by task IDs and rule types
  • Regex and keyword rules check now returns span/detected text
  • The PII rule now returns confidence scores
  • Added the capability to filter processed inferences on the query endpoint by rule type, rule status, and validation result status
  • Enhanced the consistency of hallucination check
  • Added Toxicity Rule check
  • Added user-generated API keys workflow. Admin users can now create and rotate API keys using a master key
  • Made modifications to improve the precision of the Hallucination rule

October 30, 2023 - v2.0.119

by Noriaki Tatsumi

The pii_results field in the validation API response has been marked deprecated.

October 30, 2023 - v2.0.116

by Noriaki Tatsumi

Added entity spans to the PII rule validation response. A new validation API response field,pii_entitiescontains the detected PII entity type and the part of the text it was detected on.