AI Chat Bot with Vue.js and GPT-4: Build Smarter Apps
Plans from $25/month

This lesson is for members. Join us?

Subscribe now and get immediate access to this course, 30 more and all future Vue.js courses!

Secure Your Token with a Nuxt API Endpoint

In this lesson, we setup an API endpoint for working with the Open AI Chat API. This is necessary so that we can protect our OpenAI API Key on the server side. Otherwise, others could take it from the browser and use up our credits and thus our cash!