Chapter 8: Classifying and Categorizing Text

In the last chapter, we looked at different ways to generate text. In this chapter, we'll discuss text classification and the OpenAI API classifications endpoint. We'll start with a quick overview of text classification and the classifications endpoint, and then we'll work through implementing sentiment analysis, assigning an ESRB rating to text, categorizing text by language, and classifying text from keywords, which are all common text classification examples.

The topics we will be covering in this chapter are as follows:

  • Understanding text classification
  • Introducing the classifications endpoint
  • Implementing sentiment analysis
  • Assigning an ESRB rating to text
  • Classifying text by language
  • Classifying ...

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.