OpenAI GPT-3 text model usage example

In this example, a simple chat bot is implemented using Next.js, API Routes, and OpenAI API.

AI Chat Bot:

AI

Hi! I am a friendly AI assistant. Ask me anything!

Type a message to start the conversation