plugin ai-data-mask add log (#1423)

This commit is contained in:
007gzs
2024-10-23 13:19:02 +08:00
committed by GitHub
parent bb6c43c767
commit d76f574ab3
3 changed files with 31 additions and 10 deletions

View File

@@ -31,7 +31,7 @@ Plugin Execution Priority: `991`
| deny_openai | bool | true | Intercept openai protocol |
| deny_jsonpath | string | [] | Intercept specified jsonpath |
| deny_raw | bool | false | Intercept raw body |
| system_deny | bool | true | Enable built-in interception rules |
| system_deny | bool | false | Enable built-in interception rules |
| deny_code | int | 200 | HTTP status code when intercepted |
| deny_message | string | Sensitive words found in the question or answer have been blocked | AI returned message when intercepted |
| deny_raw_message | string | {"errmsg":"Sensitive words found in the question or answer have been blocked"} | Content returned when not openai intercepted |