addModerationResponsePartialPattern
fun <Args : ToolArgs> addModerationResponsePartialPattern(pattern: String, response: ModerationResult)(source)
Associates a given moderation response with a specific partial pattern.
Parameters
pattern
The string pattern to be used as a key for the moderation response.
response
The ModerationResult object that corresponds to the given pattern.