Understanding general GPT-3 use cases
In the last chapter, you learned that the OpenAI API is a text in, text out interface. So, it always returns a text response (called a completion) to a text input (called a prompt). The completion might be generating new text, classifying text, or providing results for a semantic search. The general-purpose nature of GPT-3 means it could be used for almost any language processing task. To keep us focused, we're going to look at the following general use cases: text generation, classification, and semantic search:
- Text generation: Text generation tasks are tasks for creating new, original text content. Examples include article writing and chatbots.
- Classification: Classification tasks tag or classify text. Examples of classification tasks include things such as sentiment analysis and content filtering.
- Semantic search: Semantic search tasks match a query with documents that are semantically related. For example, the query...