Generation

Learn how to use OpenAI API for generating new text.

Overview

The OpenAI models are also great at generating code and text as they have been trained on a large amount of data from different resources.

Press + to interact
Generation
Generation

We input the prompt text and request parameters into the OpenAI API's model to generate both text and code.

Press + to interact
Completions: text generation
Completions: text generation

Generate text

Now that we have learned about how OpenAI API’s model works. We can utilize the following prompt to generate new ideas about deep learning and images:

Brainstorm some ideas combining deep learning and images:

Example

Let’s try the above example in the code widget ...