Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendModeration endpoint #86

Merged
merged 1 commit into from
May 18, 2023
Merged

sendModeration endpoint #86

merged 1 commit into from
May 18, 2023

Conversation

mikwat
Copy link
Contributor

@mikwat mikwat commented May 16, 2023

Simple implementation of moderation API: https://platform.openai.com/docs/api-reference/moderations

Only models the flagged response field, not categories or category_scores. That could be added later.

Addresses #74

@adamrushy adamrushy merged commit 73dbe25 into adamrushy:main May 18, 2023
@mikwat mikwat deleted the moderation branch May 19, 2023 03:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants