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:
8 files changed
+21
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user