Chapter 6: Content Filtering
In Chapter 1, Introducing GPT-3 and the OpenAI API, we briefly mentioned that a content filtering model is available to recognize potentially offensive or harmful language. We also discussed the fact that GPT-3 will, at times, generate completions that some may find inappropriate or hurtful. In this chapter, you will learn how to implement content filtering to prevent users of your application from seeing offensive or potentially harmful completions.
The topics we will be covering in this chapter are as follows:
- Preventing inappropriate and offensive results
- Understanding content filtering
- Testing the content filtering process
- Filtering content with JavaScript
- Filtering content with Python
Technical requirements ...
Get Exploring GPT-3 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.