Skip to content

TN-57147 - Allow users to ignore custom entity detections below a configurable confidence score threshold - SDK#122

Open
zvika-tonic wants to merge 1 commit into
mainfrom
support-custom-confidence-thresholds
Open

TN-57147 - Allow users to ignore custom entity detections below a configurable confidence score threshold - SDK#122
zvika-tonic wants to merge 1 commit into
mainfrom
support-custom-confidence-thresholds

Conversation

@zvika-tonic

Copy link
Copy Markdown
Contributor

Summary

  • add custom_entity_confidence_thresholds to text, bulk, JSON, XML, and HTML redact calls
  • serialize thresholds as customEntityConfidenceThresholds with local (0, 1] finite-number validation
  • add focused payload, omission, validation, and server-backed coverage
  • bump the SDK version to 3.22.0

Verification

  • 52 offline confidence-threshold tests passed (4 server-dependent tests deselected)
  • 17 offline custom-entity-ranking-mode regression tests passed (5 server-dependent tests deselected)
  • ruff passed for changed Python files
  • independently verified against all acceptance criteria

Agent-Id: agent-70018c61-bdbe-4415-b0d4-336439a11e42
Linked-Note-Id: b8841fae-3b08-4993-9dee-8c82f788d385
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants