Merge pull request #3484 from bwliangc/feat/risk-control-matched-keyword

feat(risk-control): record matched keyword in keyword-block logs
This commit is contained in:
Wesley Liddick authored and GitHub committed 2026-06-30 10:40:30 +08:00
commit e70e36e4d2
8 files changed
+21 -4

No files matched your search

+1
View File
@@ -182,6 +182,7 @@ export interface ContentModerationLog {
flagged: boolean
highest_category: string
highest_score: number
matched_keyword: string
category_scores: Record<string, number>
threshold_snapshot: Record<string, number>
input_excerpt: string