Next.js Pages RouterBasics
Basics
One of the most basic things you can do with language models is to generate text. In this section, you will learn to generate text, and also stream it to the client.
Beyond text, you will also learn to generate structured data by providing a schema of your choice, and also stream it to the client.