adamrushy / OpenAISwift

This is a wrapper library around the ChatGPT and OpenAI HTTP API
MIT License
1.6k stars 242 forks source link

Add support for Moderations endpoint #57

Open julianschiavo opened 1 year ago

julianschiavo commented 1 year ago

This PR adds support for OpenAI Moderations, which is a free endpoint to classify text based on harmful content.

julianschiavo commented 1 year ago

Merge conflict resolved.

neelvirdy commented 1 year ago

Hi @julianschiavo, @efemazlumoglu. Any updates on this PR? I'd like to use the moderations endpoint and this seems almost ready to merge. Thank you!

efemazlumoglu commented 1 year ago

ı have no idea I was waiting also but I have changed the library that I am using