Skip to content

Commit

Permalink
Update bot.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
aacebo committed Oct 22, 2024
1 parent 89943d3 commit 3750842
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/samples/03.ai-concepts/f.chatModeration/src/bot.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ if (process.env.OPENAI_KEY) {
category: 'Violence',
severity: ModerationSeverity.High
}
]
// breakByBlocklists: true,
],
// haltOnBlocklistHit: true,
// blocklistNames: [] // Text blocklist Name. Only support following characters: 0-9 A-Z a-z - . _ ~. You could attach multiple lists name here.
});
}
Expand Down

0 comments on commit 3750842

Please sign in to comment.