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

Enhancement: Option to Pre-filter with OpenAI Moderation Endpoint #1288

Closed
1 task done
omltcat opened this issue Dec 5, 2023 · 1 comment · Fixed by #1388
Closed
1 task done

Enhancement: Option to Pre-filter with OpenAI Moderation Endpoint #1288

omltcat opened this issue Dec 5, 2023 · 1 comment · Fixed by #1388
Assignees
Labels
✨ enhancement New feature or request
Milestone

Comments

@omltcat
Copy link

omltcat commented Dec 5, 2023

Contact Details

No response

What features would you like to see added?

OpenAI provides a free Moderation Endpoint. You can use it to check if what you want to send complies with their policies. An option to toggle such functionality when using OpenAI API would be helpful. It can potentially be further integrated into existing moderation of LibreChat on user behaviors.

More details

OpenAI bans accounts for misuse of API. In many cases, the user is unaware of something making OpenAI unhappy. The optional moderation endpoint pre-filter may provide an additional layer of safeguard against accidentally getting banned while using their API.

In an ideal world, we should be given the chance to choose if and how we want our APIs moderated, but this is what we have now.

Which components are impacted by your request?

Endpoints

Pictures

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@omltcat omltcat added the ✨ enhancement New feature or request label Dec 5, 2023
@danny-avila
Copy link
Owner

Thanks! We will definitely work on this, @berry-13 mentioned it the other day

@danny-avila danny-avila moved this to 🆕 New in LibreChat Dec 5, 2023
@berry-13 berry-13 self-assigned this Dec 16, 2023
@berry-13 berry-13 linked a pull request Dec 18, 2023 that will close this issue
9 tasks
@danny-avila danny-avila added this to the v0.6.6 milestone Dec 28, 2023
@github-project-automation github-project-automation bot moved this from 🆕 New to ✅ Done in LibreChat Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ enhancement New feature or request
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

3 participants