Closed mikwat closed 1 year ago
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.
flagged
categories
category_scores
Addresses https://github.com/adamrushy/OpenAISwift/issues/74
Simple implementation of moderation API: https://platform.openai.com/docs/api-reference/moderations
Only models the
flagged
response field, notcategories
orcategory_scores
. That could be added later.Addresses https://github.com/adamrushy/OpenAISwift/issues/74