Skip to content

Conversation

@ricken07
Copy link
Contributor

The OpenAI Moderation is a tool you can use to check whether text is potentially harmful.

This PR content :

  • Moderation API
  • Moderation Client
  • Moderation properties
  • Test

@tzolov
Copy link
Contributor

tzolov commented Mar 21, 2024

@ricken07 if not mistaken there is already a similar PR : #333 by @hemeda3
The moderation is has high priority in our todo list. But we need to figure out what high level abstraction to provide that can be used across the various models.

@ThomasVitale
Copy link
Contributor

The OpenAI implementation of the ModerationModel interface has been delivered in 1894681

Documentation: https://docs.spring.io/spring-ai/reference/api/moderation/openai-moderation.html

I think this issue can be closed now.

@markpollack
Copy link
Member

Closing, sorry for the cross talk/overlap between PRs. Hope to avoid this in the future by staying more on top of the PRs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants