OpenAI API: Moderation

OpenAI API: Moderation

14mGeneral2024-01-05

Authors

Morten Rand-Hendriksen

Morten Rand-Hendriksen

Senior Staff Instructor, Speaker, Web Designer, and Software Developer

Course details

Left unchecked, AI systems can both process and output what can be considered harmful language. Sometimes this is necessary; other times it is unwanted. Using the OpenAI API, you can apply moderation tools to the communication between the user and the API to control both what goes into and what comes out of the system. In this course, you’ll get an overview of how these features work and how to implement them in your app.

Learning objectives
Why moderation of AI content is necessary
How the OpenAI API identifies potentially harmful language
How to moderate input and output for harmful language
How to implement moderation in your own apps

Skills covered

OpenAI APIResponsible AIAPIsOpenAIGenerative AIArtificial Intelligence (AI)Software DevelopmentOne-Off

Concepts

Introduction

  • Managing potentially harmful language with AI

Moderating AI Exchanges

  • How the OpenAI API moderation feature works
  • Using the moderation feature in the OpenAI API

Going Further

  • Further resources and documentation