Udemy

Next.js AI Chatbot using ChatGPT and Gemini AI

Enroll Now
  • 126 Students
  • Updated 6/2024
4.7
(11 Ratings)
CTgoodjobs selects quality courses to enhance professionals' competitiveness. By purchasing courses through links on our site, we may receive an affiliate commission.

Course Information

Registration period
Year-round Recruitment
Course Level
Study Mode
Duration
4 Hour(s) 35 Minute(s)
Language
English
Taught by
K.Sathya Prakash Reddy
Rating
4.7
(11 Ratings)

Course Overview

Next.js AI Chatbot using ChatGPT and Gemini AI

Build a real-time AI Chatbot using Vercel AI SDK with two AI models support (OpenAI , GeminiAI)

Welcome to the "Next.js AI Chatbot" course! In this project-based course, you will learn how to build a powerful AI chatbot application using the latest features of Next.js 14 and the Vercel AI SDK.

Course Curriculum

Introduction to Next.js 14 and Vercel AI SDK

  • Overview of Next.js 14 and its latest features

  • Introduction to Vercel AI SDK and its advantages

  • Setting up the development environment

Building the User Interface

  • Implementing user authentication and authorization using Clerk

  • Designing the UI using Tailwind CSS

  • Creating reusable components for the chatbot interface

Integrating AI Models

  • Connecting to OpenAI and GeminiAI models using Vercel AI SDK

  • Configuring API keys and environment variables

Implementing Chatbot Functionality

  • Handling user input and generating prompts for AI models

  • Streaming AI responses to the UI in real-time

  • Displaying AI responses with proper formatting

Copy and Share AI Responses

  • Copy AI responses to the clipboard and use wherever it requires

  • Share AI response to different social platforms like whatsapp , gmail , instagram , facebook , linkedin etc.

  • Displaying AI responses with proper formatting

Persisting Chat History

  • Saving user chats to a database

  • Retrieving and displaying previous chat history

  • Allowing users to resume conversations based on past messages

Enhancing User Experience

  • Implementing features for selecting and resuming past chats

  • Providing a seamless and intuitive user interface

Deployment and QA

  • Deploying the application to Vercel

  • Performing thorough testing and quality assurance

  • Providing complete source code access to students

By the end of this course, you will have built a fully functional AI chatbot application using Next.js 14, Vercel AI SDK, and popular AI models. You will learn how to integrate user authentication, design an attractive UI, handle AI responses, and save chat history for a better user experience. The course will also cover deployment and provide access to the complete source code for future reference and learning.

Course Content

  • 10 section(s)
  • 32 lecture(s)
  • Section 1 Introduction
  • Section 2 User authentication
  • Section 3 Mongo DB Setup and Save Current User
  • Section 4 Layout and Store
  • Section 5 Homepage skeleton
  • Section 6 Integration of Vercel AI SDK
  • Section 7 Chat Model & API
  • Section 8 Save and show user chats
  • Section 9 Copy & Share
  • Section 10 Bugs and Deployment

What You’ll Learn

  • Nextjs 14 latest features
  • Introduction to Vercel AI SDK and Advantages
  • Building AI Chatbot using Vercel AI SDK with two top AI Models (OpenAI , GeminiAI)
  • Learn how to send the prompts to AI and how to show the AI streamed response on UI
  • Learn how to save all users chats to database , so even after the page refresh they can view all the previous chats with AI

Reviews

  • A
    Abdullah Al Noman
    4.5

    Very Straigtforward and simple. Will be helpful for the beginners.

  • L
    Luciano Mendes Horta
    5.0

    I loved everything until now. Congratulation to the instructor for the great content

  • Y
    Yiyu Qian
    5.0

    Very Amazing course on Next.js + OpenAI. The instructor is very amazing. I really learnt a lot.

  • S
    Shenoy
    4.5

    I loved the entire course as this was my first time working with NextJS. Sathya sir was really thorough in explaining the project and its working. Thank you.

Start FollowingSee all

We use cookies to enhance your experience on our website. Please read and confirm your agreement to our Privacy Policy and Terms and Conditions before continue to browse our website.

Read and Agreed