April 10, 2025 - v2.0.658
about 1 month ago by Noriaki Tatsumi
Enhancements:
- Optimized the profanity detection function in the toxicity rule to improve latency for inferences with a large number of consecutive repeating characters
- The user input (inference) token counts now available in the inference query endpoint response
Maintenance:
- Removed the deprecated API response body attributes in BaseDetailsResponse and PIIDetailsResponse. They were deprecated in October 2023.
BaseDetailsResponse.claims
BaseDetailsResponse.pii_results
BaseDetailsResponse.pii_entities
BaseDetailsResponse.toxicity_score
PIIDetailsResponse.pii_results
- Removed the Hallucination v1 rule that was deprecated on May 24, 2024. If you have the rule in your active tasks, they will be automatically archived with this Shield upgrade.
- Removed the experimental Hallucination v3 rule. It will be reintroduced when the next challenger to replace the v2 rule becomes available. If you have the rule in your active tasks, they will be automatically archived with this Shield upgrade.