We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It should be relatively easy to add/implement the function OpenAIModeration -- see OpenAI's moderation.
OpenAIModeration
Here is an example of using the Raku module "WWW::OpenAI":
my @modRes = |openai-moderation( "I want to kill them!", format => "values", method => 'curl'); for @modRes -> $m { .say for $m.pairs.sort(*.value).reverse; }
# violence => 0.9640626311302185 # hate => 0.27332669496536255 # hate/threatening => 0.00637523178011179 # sexual => 8.585161026530841e-07 # violence/graphic => 2.8522084249971158e-08 # self-harm => 1.678687522321809e-09 # sexual/minors => 1.3898265871503668e-09
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It should be relatively easy to add/implement the function
OpenAIModeration
-- see OpenAI's moderation.Here is an example of using the Raku module "WWW::OpenAI":
The text was updated successfully, but these errors were encountered: