Courses

AI Chat Bot with Vue.js and GPT-4 - The Social Media Post Generator - Twitter and Facebook Cards + the useChatAi Composable

In this lesson, we take a look at how some of the boilerplate code helps us bootstrap the application UI and finish filling out the Facebook and Twitter cards. We also look into the useChatAi composable, to see how to handle the loading state of the requests to the /api/ai endpoint.