feat: add asynchronous Omni Moderation for chat inputs and outputs - #591
Open
GeorgeXie2333 wants to merge 2 commits into
Open
feat: add asynchronous Omni Moderation for chat inputs and outputs#591GeorgeXie2333 wants to merge 2 commits into
GeorgeXie2333 wants to merge 2 commits into
Conversation
| Modality: c.Query("modality"), | ||
| Result: c.Query("result"), | ||
| Category: c.Query("category"), | ||
| UserID: uint(userID), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Change type
Affected areas
Verification
git diff --check.Screenshots, API examples, or logs
Configuration, migration, and compatibility notes
content_moderationsystem-settings namespace with:base_urlapi_keymodeltimeout_secondsmax_concurrencyqueue_capacitypolicy_jsonpolicy_versionhttps://api.openai.com/v1andomni-moderation-latest.content_moderation_eventscontent_moderation_daily_statsDocumentation
Swagger/API contract documentation includes the new administration endpoints and moderation response fields.
Security and privacy
Moderation event details and retained content are restricted to super-admin users. Ordinary administrators receive anonymous aggregate statistics only.
Checklist
.pycfiles,.envfiles, and local storage data are not committed.