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
2026-06-30 10:40:30 +08:00
committed by GitHub
8 changed files with 21 additions and 4 deletions
+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