AI Chat Bot with Vue.js and GPT-4 - Build the Chat App - 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!