Mô tả

What is Next.js?

Next.js is a React-based framework that provides infrastructure and simple development experience for server-side rendered(SSR) & static page applications.

  • An intuitive page-based routing system (with support for dynamic routes)

  • Pre-rendering, both static generation (SSG) and server-side rendering (SSR), are supported on a per-page basis.

What is ChatGPT?

ChatGPT is a powerful AI language model created by OpenAI that can understand and respond to text inputs like a human. It has been trained on vast amounts of text data, making it a versatile tool for various language-based applications.


What are you going to work on?

Throughout the course, you will gain experience developing a Next JS application from the ground up. Additionally, you'll receive instruction on integrating OpenAI's ChatGPT to create a chatbot application that enables users to ask the AI any questions about a specific technology stack, such as a library, framework, or programming language that will be taught in the course. The ultimate goal of the course is to equip you with the skills necessary to create a functional chatbot app.


A big portion of the course is preparing the application layout, improving user experience, and getting everything together from scratch. Every part of the course is skippable, with the option to download the version of the project from any stage of the course.


The course covers a text completion from OpenAI, mostly used for Chatbots. The course doesn't focus on covering every topic of chatGPT but rather provides a practical development guide on how to integrate the ai model into the Next JS application.


The course can be briefly summarized in these points:


  • Layout preparation - Several lectures are provided to prepare the application layout, with everything built from scratch. Each lecture is optional and can be skipped.

  • Components - Code parts are organized into components for better management.

  • API Route -An API route is established to handle user queries and provide ChatGPT's response.

  • ChatGPT - ChatGPT is initially integrated with a simple setup.

  • ChatGPT parameters - The parameters that influence AI decisions are explained.

  • Markdown - The response generated by ChatGPT is formatted in Markdown.

  • Sessions - Although the course doesn't cover authentication, different user scenarios are simulated using sessions/cookies.

  • In-memory DB - The application uses lowDB as an in-memory database for data storage.

  • AI memory  - Chat history is stored in an in-memory database, enabling the AI model to access more context.

  • Personalize AI - Each chatbot has a unique personality and specific knowledge of a framework.

  • Deployment - The application will be deployed on Vercel.

While working on the features above, the students will learn and understand ChatGPT features and parameters. They will know how to architecture applications and will be able to create their applications with Next JS and ChatGPT integration.

Bạn sẽ học được gì

Learn to integrate ChatGPT to Next JS app

Get an understanding on how to use ChatGPT in the code

Use Next JS to create an AI chat app

Establish yourself in the field of the AI Web Development

Yêu cầu

  • Base knowledge of Next JS or React JS

Nội dung khoá học

10 sections

Introduction

3 lectures
Introduction
02:44
What to expect from the course
03:29
How to resolve issues or skip lecture
05:06

Layout Preparation

8 lectures
Init Project
06:15
Tailwind init
08:59
Center content
05:52
Json data and assets
06:56
Render Stacks
10:25
Border hover classes
05:44
Code Exercise
1 question
Quiz
3 questions

Stack Page

11 lectures
Stack Page
09:54
Adds header
07:19
Message layout
11:03
Textarea for prompt
04:23
Move code to components
07:29
Different classes for messages
07:52
Handle prompt value
09:21
Add messages
07:31
Scroll to bottom
04:45
Code Exercise
1 question
Quiz
3 questions

Completion API Route

9 lectures
Completion Api route
05:48
Send data to Api
10:15
Get response from request
05:52
Add ai message
06:01
Typewriter effect
06:54
Blinking cursor
06:21
Disable typewriter
03:18
Code exercise
1 question
Quiz
3 questions

OpenAI - ChatGPT

8 lectures
OpenAI Account + Api keys
11:36
Completion API
18:33
ChatGPT Params
23:48
In-Code Params
00:21
Debug config
04:33
Make better prompt
09:48
Hardcode response
05:42
Quiz
5 questions

Markdown

6 lectures
React markdown
05:05
Code highlight
15:11
Code cleanup
05:47
Use Effect Fix
01:47
Fix typewriter styles
03:37
Quiz
2 questions

Sessions - Cookies

7 lectures
Session keys
07:04
Set active session
03:22
Init iron sessions
08:33
Api endpoint to store session
04:58
Storing user in session
08:42
Code exercise
1 question
Quiz
2 questions

Get User

7 lectures
Retrieve user in Post endpoint
05:03
Fetch user client side
06:38
Move fetch user to hook
04:12
Display uid in ui
01:21
Set active session on reload
02:06
Select default session
03:23
Code Exercise
1 question

Message History

11 lectures
Init lowDb
13:44
Cache DB
05:56
Store message history
11:09
Save data to DB
07:47
Feed history to chatGPT
05:13
Message history memory size
06:34
Clear history on chat enter
10:09
Different bots
08:47
Handle case when no messages
02:17
Code exercise
1 question
Quiz
2 questions

Deployment

3 lectures
Github repo
08:52
Deploy app to vercel
06:13
Store in-memory & Course Finish
08:39

Đánh giá của học viên

Chưa có đánh giá
Course Rating
5
0%
4
0%
3
0%
2
0%
1
0%

Bình luận khách hàng

Viết Bình Luận

Bạn đánh giá khoá học này thế nào?

image

Đăng ký get khoá học Udemy - Unica - Gitiho giá chỉ 50k!

Get khoá học giá rẻ ngay trước khi bị fix.